mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
15 lines
299 B
Java
15 lines
299 B
Java
class Test {
|
|
// Nested records are implicitly static
|
|
record R1() { }
|
|
static final record R2() { }
|
|
|
|
interface SuperInterface { }
|
|
|
|
record R3() implements SuperInterface { }
|
|
|
|
void test() {
|
|
// Nested records are implicitly static
|
|
record LocalRecord() { }
|
|
}
|
|
}
|