completion: diamonds; inspection: collapse to diamond

This commit is contained in:
anna
2011-01-31 17:14:11 +01:00
parent 8862164974
commit c05c58cf4c
28 changed files with 497 additions and 69 deletions
@@ -0,0 +1,6 @@
// "Replace with <>" "true"
public class Test {
F<String> f = new F<>();
}
class F<T> {}
@@ -0,0 +1,7 @@
// "Replace with <>" "true"
public class Test {
F<F<String>> f = new FF<>();
}
class FF<X> extends F<X>{}
class F<T> {}
@@ -0,0 +1,11 @@
// "Replace with <>" "true"
public class Test {
void bar() {
foo(new FF<>());
}
void foo(F<F<String>> p) {}
}
class FF<X> extends F<X>{}
class F<T> {}
@@ -0,0 +1,6 @@
// "Replace with <>" "true"
public class Test {
F<String> f = new F<Str<caret>ing>();
}
class F<T> {}
@@ -0,0 +1,7 @@
// "Replace with <>" "true"
public class Test {
F<F<String>> f = new FF<Str<caret>ing>();
}
class FF<X> extends F<X>{}
class F<T> {}
@@ -0,0 +1,11 @@
// "Replace with <>" "true"
public class Test {
void bar() {
foo(new FF<Str<caret>ing>());
}
void foo(F<F<String>> p) {}
}
class FF<X> extends F<X>{}
class F<T> {}