mirror of
https://github.com/github/codeql.git
synced 2026-07-10 14:05:41 +02:00
Rename java/ql/test-kotlin2 to java/ql/test-kotlin (codeql/java-kotlin-tests) and delete java/ql/test-kotlin1. The unified suite is the K2 test suite (test-kotlin2) with expected files already updated by the preceding extractor commits to converge K1 and K2 output. The suite runs in both language modes via the test runner: * K1 mode — CODEQL_KOTLIN_LEGACY_TEST_EXTRACTION_KOTLIN2 unset → -language-version 1.9 * K2 mode — CODEQL_KOTLIN_LEGACY_TEST_EXTRACTION_KOTLIN2=true → -language-version 2.0 Update CODEOWNERS and labeler.yml to reference test-kotlin. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
454 B
Java
16 lines
454 B
Java
public class use implements Annot0k {
|
|
@Override
|
|
public int a() { return 1; }
|
|
|
|
@Override
|
|
public Class<? extends java.lang.annotation.Annotation> annotationType() {
|
|
return null;
|
|
}
|
|
|
|
@Annot0j(abc = 1)
|
|
@Annot1j(a = 1, b = "ac", c = X.class, d = Y.B, e = {Y.C, Y.A}, f = @Annot0j(abc = 2))
|
|
@Annot0k(a = 1)
|
|
@Annot1k(a = 1, b = "ac", c = X.class, d = Y.B, e = {Y.C, Y.A}, f = @Annot0k(a = 2))
|
|
public class Z { }
|
|
}
|