We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 009f9d5 commit db52a3cCopy full SHA for db52a3c
java/ql/lib/semmle/code/java/Member.qll
@@ -623,7 +623,13 @@ class SrcMethod extends Method {
623
then implementsInterfaceMethod(result, this)
624
else result.getASourceOverriddenMethod*() = this
625
) and
626
- (exists(result.getBody()) or result.hasModifier("native"))
+ (
627
+ // We allow empty method bodies for the local overlay variant to allow
628
+ // calls to methods only fully extracted in base.
629
+ isOverlay() or
630
+ exists(result.getBody()) or
631
+ result.hasModifier("native")
632
+ )
633
}
634
635
0 commit comments