mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
Previously `LocalClass` itself would match `.isLocal()` whereas `LocalClass<Param>` would not. Rather than require each individual user to check for `.getSourceDeclaration().isLocal()`, let's note that the specializations themselves are local.
8 lines
114 B
Plaintext
8 lines
114 B
Plaintext
import java
|
|
|
|
from ClassOrInterface ci
|
|
where
|
|
ci.getSourceDeclaration().fromSource() and
|
|
ci.isLocal()
|
|
select ci
|