mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Only stub effectively public declarations
This commit is contained in:
@@ -25,7 +25,8 @@ class UsedInSource extends GeneratedDeclaration {
|
||||
or
|
||||
this = any(Attribute a).getType().getAConstructor()
|
||||
) and
|
||||
this.fromLibrary()
|
||||
this.fromLibrary() and
|
||||
this.(Modifiable).isEffectivelyPublic()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user