Skip to content

Commit a4659f4

Browse files
Exclude package protected members
1 parent 3b430d4 commit a4659f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/src/utils/Stubs.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ abstract private class GeneratedType extends RefType {
9595
)
9696
) and
9797
not result.isPrivate() and
98+
not result.isPackageProtected() and
9899
not result instanceof StaticInitializer and
99100
not result instanceof InstanceInitializer
100101
}

0 commit comments

Comments
 (0)