ignore type substitution on override (IDEABKL-6365)

This commit is contained in:
Anna Kozlova
2012-05-23 21:45:54 +04:00
parent 1afebf45d2
commit 26c733b37a
4 changed files with 35 additions and 9 deletions
@@ -0,0 +1,9 @@
interface Function<S> {
void fun(Function<S> function);
}
class Bar extends Function<String>{
public void fun(Function<String> function) {
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
}
}
@@ -0,0 +1,7 @@
interface Function<S> {
void fun(Function<S> function);
}
class Bar extends Function<String>{
<caret>
}
@@ -35,6 +35,7 @@ public class OverrideImplementTest extends LightCodeInsightTestCase {
public void testSubstitutionInTypeParametersList() throws Exception { doTest(false); }
public void testTestMissed() throws Exception { doTest(false); }
public void testWildcard() throws Exception { doTest(false); }
public void testTypeParam() throws Exception { doTest(false); }
public void testLongFinalParameterList() throws Exception {
CodeStyleSettings codeStyleSettings = CodeStyleSettingsManager.getSettings(getProject()).clone();