mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not need parenthesis for associative operations (IDEADEV-41569); move to java-tests
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class Client {
|
||||
void method() {
|
||||
Pair<String, Pair<Integer, Boolean>> p = new PairProvider<String, Integer, Boolean>().getPair();
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
class Pair<L,R> {
|
||||
public Pair(L l, R r) {
|
||||
}
|
||||
public L getL() {
|
||||
return null;
|
||||
}
|
||||
public R getR() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class PairProvider <U, V, W>{
|
||||
public Pair<U, Pair<V, W>> getPair() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Client {
|
||||
void method() {
|
||||
<selection>new PairProvider<String, Integer, Boolean>().getPair()</selection>
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
class Pair<L,R> {
|
||||
public Pair(L l, R r) {
|
||||
}
|
||||
public L getL() {
|
||||
return null;
|
||||
}
|
||||
public R getR() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class PairProvider <U, V, W>{
|
||||
public Pair<U, Pair<V, W>> getPair() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user