Move to class body: don't suggest on data class

#KT-40558 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-08-01 10:10:05 +09:00
committed by igoriakovlev
parent 28700ed64c
commit 5e91ffb156
4 changed files with 20 additions and 5 deletions
@@ -12510,11 +12510,21 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/intentions/movePropertyToClassBody"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), null, true);
}
@TestMetadata("annotationClass.kt")
public void testAnnotationClass() throws Exception {
runTest("idea/testData/intentions/movePropertyToClassBody/annotationClass.kt");
}
@TestMetadata("annotationWithUseSite.kt")
public void testAnnotationWithUseSite() throws Exception {
runTest("idea/testData/intentions/movePropertyToClassBody/annotationWithUseSite.kt");
}
@TestMetadata("dataClass.kt")
public void testDataClass() throws Exception {
runTest("idea/testData/intentions/movePropertyToClassBody/dataClass.kt");
}
@TestMetadata("location1.kt")
public void testLocation1() throws Exception {
runTest("idea/testData/intentions/movePropertyToClassBody/location1.kt");