mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
completion: diamonds; inspection: collapse to diamond
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Replace with <>" "true"
|
||||
public class Test {
|
||||
F<String> f = new F<>();
|
||||
}
|
||||
|
||||
class F<T> {}
|
||||
+7
@@ -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> {}
|
||||
+11
@@ -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> {}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Replace with <>" "true"
|
||||
public class Test {
|
||||
F<String> f = new F<Str<caret>ing>();
|
||||
}
|
||||
|
||||
class F<T> {}
|
||||
+7
@@ -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> {}
|
||||
+11
@@ -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> {}
|
||||
Reference in New Issue
Block a user