summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/varTypeFromCall/afterCompound.java
blob: a6e6d60528af683edf280b3d2b78f6dd74e56e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
// "Change 'list' type to 'Lost<java.lang.Integer>'" "true"
public class Test {
  void foo()  {
    Lost<Integer> list = new Lost<>();
    list.add(new Lost<Integer>());
  }
}

class Lost<T> {
  void add(Lost<T> t){}
}