Corrected quickfix to correct signature of method with 'override' to:

- not loose annotations and other stuff
  - not include visibility modifiers into the name and into the code generated
This commit is contained in:
Valentin Kipyatkov
2014-10-04 01:30:57 +04:00
parent 89ea4d5a85
commit 317607db70
9 changed files with 60 additions and 41 deletions
@@ -2219,6 +2219,12 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
doTest(fileName);
}
@TestMetadata("beforeDoNotLooseAnnotations.kt")
public void testDoNotLooseAnnotations() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/override/nothingToOverride/beforeDoNotLooseAnnotations.kt");
doTest(fileName);
}
@TestMetadata("beforeNoOpenSuperFunction.kt")
public void testNoOpenSuperFunction() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/quickfix/override/nothingToOverride/beforeNoOpenSuperFunction.kt");