mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-12 08:31:27 +00:00
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)
15 lines
346 B
Java
Vendored
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 { }
|
|
}
|