IDEA-58049 partial implementation

This commit is contained in:
Danila Ponomarenko
2012-06-25 18:11:53 +04:00
parent 693e330203
commit 6772fd01ea
16 changed files with 401 additions and 39 deletions
@@ -0,0 +1,8 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><T extends Integer, S> {
void method() {
Foo<Integer, String> foo = new Foo();
}
}
@@ -0,0 +1,8 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><S, T extends Integer> {
void method() {
Foo<String, Integer> foo = new Foo();
}
}
@@ -0,0 +1,8 @@
// "<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();
}
}
@@ -0,0 +1,8 @@
// "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();
}
}
@@ -0,0 +1,8 @@
// "Add type parameter to 'Foo'" "true"
class Foo<caret><S> {
void method() {
Foo<String> foo = new Foo();
}
}
@@ -0,0 +1,8 @@
// "Add type parameter to 'Foo'" "true"
class Foo<T extends Integer> {
void method() {
Foo<Integer, St<caret>ring> foo = new Foo();
}
}
@@ -0,0 +1,8 @@
// "Add type parameter to 'Foo'" "true"
class Foo<T extends Integer> {
void method() {
Foo<St<caret>ring, Integer> foo = new Foo();
}
}
@@ -0,0 +1,8 @@
// "<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();
}
}
@@ -0,0 +1,8 @@
// "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();
}
}
@@ -0,0 +1,8 @@
// "Add type parameter to 'Foo'" "true"
class Foo {
void method() {
Foo<St<caret>ring> foo = new Foo();
}
}