Resolve annotations on Java constructors
Also add tests on custom annotations on fields and methods
This commit is contained in:
@@ -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) { }
|
||||
}
|
||||
Reference in New Issue
Block a user