summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewRefsInference1_after.java
blob: bd874395a9f5c853367cf00583a1b2921c9565e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class MyTest {
    interface I {
       void m(Integer s);
    }
    static class Foo<X extends Number> {
        Foo(X x) { }
    }

 
    static void m(I s) {}

    static {
        m((x) -> {
            new Foo<Integer>(x);
        });
    }
}