summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA126163.java
blob: 7869663fb8630eac3052601aa27bcc36770432e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class Test {

  public static void main( String[] args ) throws Exception {
    Checker.assertThat("", Utils.is(Utils.notNullValue()));
  }
}

interface Util<T> {
}

class Utils {
  static <T> Util<T> is( Util<T> util ) {
    return null;
  }

  static <T> Util<T> is( T t ) {
    return null;
  }

  static <T> Util<T> notNullValue() {
    return null;
  }
}

class Checker {
  static <T> void assertThat(T actual, Util<T> util) {
  }
}