introduce parameter: ensure type is substituted in overriders (IDEA-155609)

This commit is contained in:
Anna.Kozlova
2016-05-10 19:32:56 +02:00
parent 5e9ebc413a
commit 094da1c807
4 changed files with 25 additions and 1 deletions
@@ -0,0 +1,7 @@
class A<T> {
void foo(final T anObject) {
}
}
class B extends A<String> {
void foo(final String anObject) {}
}
@@ -0,0 +1,8 @@
class A<T> {
void foo() {
T <selection>t</selection> = null;
}
}
class B extends A<String> {
void foo() {}
}