mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-24 15:51:37 +00:00
Rename JavaReferenceAnnotationArgument on that occasion to JavaEnumValueAnnotationArgument. Also add a test on a nested enum annotation argument
15 lines
177 B
Java
15 lines
177 B
Java
package test;
|
|
|
|
public class NestedEnumArgument {
|
|
public enum E {
|
|
FIRST
|
|
}
|
|
|
|
@interface Anno {
|
|
E value();
|
|
}
|
|
|
|
@Anno(E.FIRST)
|
|
void foo() {}
|
|
}
|