do not need parenthesis for associative operations (IDEADEV-41569); move to java-tests

This commit is contained in:
anna
2009-11-25 14:39:43 +03:00
parent ac7d7872ee
commit c317da06f1
116 changed files with 1340 additions and 2 deletions
@@ -0,0 +1,5 @@
class Client {
void method() {
Pair<String, Pair<Integer, Boolean>> p = new PairProvider<String, Integer, Boolean>().getPair();
}
}
@@ -0,0 +1,10 @@
class Pair<L,R> {
public Pair(L l, R r) {
}
public L getL() {
return null;
}
public R getR() {
return null;
}
}
@@ -0,0 +1,5 @@
class PairProvider <U, V, W>{
public Pair<U, Pair<V, W>> getPair() {
return null;
}
}
@@ -0,0 +1,5 @@
class Client {
void method() {
<selection>new PairProvider<String, Integer, Boolean>().getPair()</selection>
}
}
@@ -0,0 +1,10 @@
class Pair<L,R> {
public Pair(L l, R r) {
}
public L getL() {
return null;
}
public R getR() {
return null;
}
}
@@ -0,0 +1,5 @@
class PairProvider <U, V, W>{
public Pair<U, Pair<V, W>> getPair() {
return null;
}
}