Move to constructor: choose property use-site target more precisely
#KT-26015 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
29390dab42
commit
de6fdc5733
@@ -11825,6 +11825,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/intentions/movePropertyToConstructor"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotationTarget.kt")
|
||||
public void testAnnotationTarget() throws Exception {
|
||||
runTest("idea/testData/intentions/movePropertyToConstructor/annotationTarget.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("annotationWithUseSite.kt")
|
||||
public void testAnnotationWithUseSite() throws Exception {
|
||||
runTest("idea/testData/intentions/movePropertyToConstructor/annotationWithUseSite.kt");
|
||||
@@ -11850,6 +11855,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
runTest("idea/testData/intentions/movePropertyToConstructor/getter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaAnnotation.kt")
|
||||
public void testJavaAnnotation() throws Exception {
|
||||
runTest("idea/testData/intentions/movePropertyToConstructor/javaAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("idea/testData/intentions/movePropertyToConstructor/lambda.kt");
|
||||
|
||||
Reference in New Issue
Block a user