Files
kotlin/compiler/testData/loadJava/compiledJava/annotations/NestedEnumArgument.java
Alexander Udalov a14b301f31 Resolve annotations on all reflected elements
Annotation in NestedEnumArgument test is made public, because we try to load
annotation argument values eagerly and fail, since you can't invoke methods
reflectively on an object of a non-effectively-public class
2015-03-11 16:42:19 +03:00

15 lines
184 B
Java
Vendored

package test;
public class NestedEnumArgument {
public enum E {
FIRST
}
public @interface Anno {
E value();
}
@Anno(E.FIRST)
void foo() {}
}