[AA] Add tests for retrieving field and parameter annotation types
This commit is contained in:
committed by
Space Team
parent
b9090e12b8
commit
793e7aa1d1
+12
@@ -82,6 +82,18 @@ public class Fe10IdeNormalAnalysisSourceModuleTypeReferenceTestGenerated extends
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValue.kt")
|
||||
public void testAnnotationParameterValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValueBackingField.kt")
|
||||
public void testAnnotationParameterValueBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValueBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() throws Exception {
|
||||
|
||||
+12
@@ -82,6 +82,18 @@ public class FirIdeDependentAnalysisSourceModuleTypeReferenceTestGenerated exten
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValue.kt")
|
||||
public void testAnnotationParameterValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValueBackingField.kt")
|
||||
public void testAnnotationParameterValueBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValueBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() throws Exception {
|
||||
|
||||
+12
@@ -82,6 +82,18 @@ public class FirIdeNormalAnalysisSourceModuleTypeReferenceTestGenerated extends
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValue.kt")
|
||||
public void testAnnotationParameterValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValueBackingField.kt")
|
||||
public void testAnnotationParameterValueBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValueBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() throws Exception {
|
||||
|
||||
+12
@@ -82,6 +82,18 @@ public class FirStandaloneNormalAnalysisSourceModuleTypeReferenceTestGenerated e
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValue.kt")
|
||||
public void testAnnotationParameterValue() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationParameterValueBackingField.kt")
|
||||
public void testAnnotationParameterValueBackingField() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationParameterValueBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() throws Exception {
|
||||
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
annotation class Anno
|
||||
|
||||
class Sub(
|
||||
@An<caret>no
|
||||
var x: Int
|
||||
)
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
expression: Anno
|
||||
ktType: Anno
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
@Target(AnnotationTarget.FIELD)
|
||||
annotation class Anno
|
||||
|
||||
class Sub(
|
||||
@An<caret>no
|
||||
@JvmField
|
||||
var x: Int
|
||||
)
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
expression: Anno
|
||||
ktType: Anno
|
||||
Reference in New Issue
Block a user