Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a92fa5 + 5f659f6 commit d09c3bfCopy full SHA for d09c3bf
1 file changed
java/ql/src/utils/stub-generator/Stubs.qll
@@ -361,6 +361,12 @@ private predicate excludedMember(Member m) {
361
m.(Method).getDeclaringType() instanceof EnumType and
362
m.hasName(["values", "valueOf"]) and
363
m.isStatic()
364
+ or
365
+ exists(Parameter p |
366
+ p = m.(Method).getAParameter() and
367
+ p.getType().fromSource() and
368
+ not p.getType().(RefType).isPublic()
369
+ )
370
}
371
372
private string stubMember(Member m) {
0 commit comments