New tests for TYPE_USE annotations in enums and inner classes
Main test data (testName.txt) a not totally valid cause of IDEA-205039. Javac test data (testName.javac.txt) a not valid cause of type annotations support absence. Runtime tests are disabled cause reflection support absence.
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
package test;
|
||||
|
||||
class AnnotatedParameterInInnerClassConstructor {
|
||||
|
||||
public @interface Anno {
|
||||
String value();
|
||||
}
|
||||
|
||||
class JavaEnum {
|
||||
JavaEnum(@Anno("a") String a , @Anno("b") String b) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user