We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c851e commit 6d1438aCopy full SHA for 6d1438a
1 file changed
java/ql/lib/semmle/code/java/Member.qll
@@ -623,7 +623,11 @@ 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
+ hasOverlay() or
628
+ exists(result.getBody()) or
629
+ result.hasModifier("native")
630
+ )
631
}
632
633
0 commit comments