mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
15 lines
386 B
Java
15 lines
386 B
Java
class Test {
|
|
|
|
@interface CustomAnnotation {
|
|
String value();
|
|
}
|
|
|
|
@interface ArrayValues {
|
|
CustomAnnotation[] annotationValues();
|
|
}
|
|
|
|
@ArrayValues(annotationValues = @CustomAnnotation(value = "only")) private int fieldWithSingular;
|
|
@ArrayValues(annotationValues = {@CustomAnnotation(value = "val1"), @CustomAnnotation(value = "val2")}) private int fieldWithMultiple;
|
|
|
|
}
|