Support any constant expressions as annotation arguments
This commit is contained in:
@@ -1065,6 +1065,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithAnnotationInParam.java");
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationWithArithmeticExpressionInParam.java")
|
||||
public void testAnnotationWithArithmeticExpressionInParam() throws Exception {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithArithmeticExpressionInParam.java");
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationWithArrayOfEnumInParam.java")
|
||||
public void testAnnotationWithArrayOfEnumInParam() throws Exception {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithArrayOfEnumInParam.java");
|
||||
@@ -1090,6 +1095,21 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithPrimitiveValueInParam.java");
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationWithStringConcatenationInParam.java")
|
||||
public void testAnnotationWithStringConcatenationInParam() throws Exception {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithStringConcatenationInParam.java");
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationWithStringConstantInParam.java")
|
||||
public void testAnnotationWithStringConstantInParam() throws Exception {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithStringConstantInParam.java");
|
||||
}
|
||||
|
||||
@TestMetadata("AnnotationWithStringInParam.java")
|
||||
public void testAnnotationWithStringInParam() throws Exception {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/AnnotationWithStringInParam.java");
|
||||
}
|
||||
|
||||
@TestMetadata("CustomAnnotation.java")
|
||||
public void testCustomAnnotation() throws Exception {
|
||||
doTestCompiledJava("compiler/testData/loadJava/compiledJava/annotations/CustomAnnotation.java");
|
||||
|
||||
Reference in New Issue
Block a user