[AA FIR] add tests on java target annotation stability
^KT-57849
This commit is contained in:
committed by
Space Team
parent
7b91cd0ff3
commit
f540826207
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target(value = [])
|
||||
psi: KtAnnotationEntry
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// CLASS_ID: java.lang.annotation/Target
|
||||
|
||||
@java.lang.annotation.Target()
|
||||
annotation class KotlinAnno<caret>tation
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target()
|
||||
psi: KtAnnotationEntry
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_STDLIB
|
||||
// CLASS_ID: java.lang.annotation/Target
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
@java.lang.annotation.Target(ElementType.PACKAGE)
|
||||
annotation class KotlinAnno<caret>tation
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target(value = [java.lang.annotation.ElementType.PACKAGE])
|
||||
psi: KtAnnotationEntry
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_STDLIB
|
||||
// CLASS_ID: java.lang.annotation/Target
|
||||
|
||||
import java.lang.annotation.ElementType.PACKAGE
|
||||
|
||||
@java.lang.annotation.Target(PACKAGE)
|
||||
annotation class KotlinAnno<caret>tation
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target(value = [java.lang.annotation.ElementType.PACKAGE])
|
||||
psi: KtAnnotationEntry
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_STDLIB
|
||||
// CLASS_ID: java.lang.annotation/Target
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
import java.lang.annotation.ElementType.PACKAGE
|
||||
|
||||
@java.lang.annotation.Target(PACKAGE, ElementType.FIELD)
|
||||
annotation class KotlinAnno<caret>tation
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target(value = [java.lang.annotation.ElementType.PACKAGE, java.lang.annotation.ElementType.FIELD])
|
||||
psi: KtAnnotationEntry
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target(value = [])
|
||||
psi: KtAnnotationEntry
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// CLASS_ID: java.lang.annotation/Target
|
||||
|
||||
@java.lang.annotation.Target
|
||||
annotation class KotlinAnno<caret>tation
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
KtDeclaration: KtClass KotlinAnnotation
|
||||
java/lang/annotation/Target()
|
||||
psi: KtAnnotationEntry
|
||||
Reference in New Issue
Block a user