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
@@ -0,0 +1,12 @@
package test;
import java.lang.String;
import java.util.List;
public class AnnotatedValueParameter {
public static @interface Anno {
String value();
}
public void f(@Anno("non-empty") List<String> parameter) { }
}