IDEA-58049 Provide add type parameter quick-fix intention implemented

This commit is contained in:
Danila Ponomarenko
2012-06-25 18:11:54 +04:00
parent 6772fd01ea
commit b83dfbf637
16 changed files with 117 additions and 258 deletions
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><T extends Integer, S> {
void method() {
Foo<Integer, String> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><S, T extends Integer> {
void method() {
Foo<String, Integer> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "<html>Change signature of 'Foo' to 'Foo&lt;<b>S</b>, T extends Integer, <b>S1</b>&gt;'</html>" "true"
class Foo<caret><S, T extends Integer, S1> {
void method() {
Foo<String, Integer, String> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><T extends Integer, S, K extends Integer> {
void method() {
Foo<Integer, String, Integer> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><S> {
void method() {
Foo<String> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<T extends Integer> {
void method() {
Foo<Integer, St<caret>ring> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<T extends Integer> {
void method() {
Foo<St<caret>ring, Integer> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "<html>Change signature of 'Foo' to 'Foo&lt;<b>S</b>, T extends Integer, <b>S1</b>&gt;'</html>" "true"
class Foo<T extends Integer> {
void method() {
Foo<String, Integer, St<caret>ring> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo<T extends Integer, K extends Integer> {
void method() {
Foo<Integer, St<caret>ring, Integer> foo = new Foo();
}
}
@@ -1,8 +0,0 @@
// "Add type parameter to 'Foo'" "true"
class Foo {
void method() {
Foo<St<caret>ring> foo = new Foo();
}
}