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

@@ -1,6 +1,10 @@
package test;
public class AnnotatedMethod {
@Deprecated
public static @interface Anno {
int value();
}
@Anno(42)
public void f() { }
}