summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/AmbiguousMethodCallIDEA97983.java
blob: 626278d84439a750c247ec816e2416909b13d877 (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
class Test {
  public static void foo(int[] i1, int[] i2) {
  }

  public static <T> void foo(T i1, T i2) {
  }

  public static final void main(String[] args) throws Exception {
    int[] i = null;
    foo(i, i);
  }
}
class Test1 {
  public static void foo(int i1, int i2) {
  }

  public static <T> void foo(T i1, T i2) {
  }

  public static final void main(String[] args) throws Exception {
    int[] i = null;
    foo(i, i);
  }
}