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 6e92d7e commit 0ee6a78Copy full SHA for 0ee6a78
java/ql/lib/semmle/code/java/Member.qll
@@ -624,7 +624,13 @@ class SrcMethod extends Method {
624
then implementsInterfaceMethod(result, this)
625
else result.getASourceOverriddenMethod*() = this
626
) and
627
- (exists(result.getBody()) or result.hasModifier("native"))
+ (
628
+ // We allow empty method bodies for the local overlay variant to allow
629
+ // calls to methods only fully extracted in base.
630
+ isOverlay() or
631
+ exists(result.getBody()) or
632
+ result.hasModifier("native")
633
+ )
634
}
635
636
0 commit comments