Resolve annotations on Java constructors

Also add tests on custom annotations on fields and methods
This commit is contained in:
Alexander Udalov
2015-01-20 20:38:28 +03:00
parent 17c21dcaa2
commit ca8831097f
14 changed files with 143 additions and 43 deletions

View File

@@ -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;
}