[AA] calculate ktType based on symbols when possible
then, for compiled code deserialized fir would be used instead of building decompiled text and consequence building and resolving of raw fir; type for ktTypeReference from compiled code is called e.g., by UAST inspections when they check annotations of the called function parameters
This commit is contained in:
+42
@@ -46,6 +46,48 @@ public class Fe10IdeNormalAnalysisSourceModuleTypeReferenceTestGenerated extends
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/typeProvider/typeReference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntry.kt")
|
||||
public void testAnnotationEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationEntryOnParameter.kt")
|
||||
public void testAnnotationEntryOnParameter() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationEntryOnParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationOnFunction.kt")
|
||||
public void testAnnotationOnFunction() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/annotationOnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReceiver.kt")
|
||||
public void testFunctionReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/functionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionReturn.kt")
|
||||
public void testFunctionReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/functionReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyReceiver.kt")
|
||||
public void testPropertyReceiver() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyReturn.kt")
|
||||
public void testPropertyReturn() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/typeProvider/typeReference/propertyReturn.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjection.kt")
|
||||
public void testStarProjection() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user