Files
kotlin/compiler/testData/loadJava/compiledJava/annotations/StringConstantInParam.java
Alexander Udalov 73e4287aee Initial support of annotation loading at runtime
In order to locate an annotated entity, we need to implement almost the whole
Java element model (which will be used anyway for Java descriptor loading)
2015-03-11 16:42:17 +03:00

15 lines
346 B
Java
Vendored

// SKIP_IN_RUNTIME_TEST because there's no stable way to determine if a field is initialized with a non-null value in runtime
package test;
public interface StringConstantInParam {
public static final String HEL = "hel";
public @interface Anno {
String value();
}
@Anno(HEL + "lo")
public static class Class { }
}