mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-23 15:51:59 +00:00
Resolve annotations on Java constructors
Also add tests on custom annotations on fields and methods
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package test;
|
||||
|
||||
public class AnnotatedField {
|
||||
public static @interface Anno {
|
||||
String value();
|
||||
}
|
||||
|
||||
@Anno("static")
|
||||
public static final int x = 0;
|
||||
|
||||
@Anno("member")
|
||||
public final int y = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user