Generate get-targeted annotations on annotation constructor parameters
This change would also make NotNull annotations to be generated on non-primitive annotation methods, but we skip this deliberately because annotation methods never return null on JVM anyway #KT-25287 Fixed
This commit is contained in:
committed by
Ilya Gorbunov
parent
9df949c039
commit
dc1f4c7d5b
+5
@@ -41,6 +41,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedAnnotationParameter.kt")
|
||||
public void testAnnotatedAnnotationParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/annotatedAnnotationParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedEnumEntry.kt")
|
||||
public void testAnnotatedEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/annotatedEnumEntry.kt");
|
||||
|
||||
Reference in New Issue
Block a user