diff options
Diffstat (limited to 'plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewDefaultConstructor_after.java')
-rw-r--r-- | plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewDefaultConstructor_after.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewDefaultConstructor_after.java b/plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewDefaultConstructor_after.java index f346d7d7a18c..0183b2009c60 100644 --- a/plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewDefaultConstructor_after.java +++ b/plugins/IntentionPowerPak/test/com/siyeh/ipp/types/methodRefs2lambda/NewDefaultConstructor_after.java @@ -1,10 +1,12 @@ class Test1 { - class Inner {} + static class Inner { + } + void test() { - BlahBlah6 blahBlah62 = (p) -> p.new Inner(); + BlahBlah6 blahBlah62 = () -> new Inner(); } } interface BlahBlah6 { - Test1.Inner foo6(Test1 p); + Test1.Inner foo6(); }
\ No newline at end of file |