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.
12 lines
156 B
Java
12 lines
156 B
Java
public class Test {
|
|
|
|
public static void method() {
|
|
|
|
class GenericLocal<T> { }
|
|
|
|
GenericLocal<Integer> instantiated = new GenericLocal<>();
|
|
|
|
}
|
|
|
|
}
|