mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +00:00
Support any constant expressions as annotation arguments
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationWithStringInParam {
|
||||
public @interface Anno {
|
||||
String value();
|
||||
}
|
||||
|
||||
@Anno("hello")
|
||||
public static class Class { }
|
||||
}
|
||||
Reference in New Issue
Block a user