diff options
Diffstat (limited to 'java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2methodReference/beforeCallToDefault.java')
-rw-r--r-- | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2methodReference/beforeCallToDefault.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2methodReference/beforeCallToDefault.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2methodReference/beforeCallToDefault.java new file mode 100644 index 000000000000..34c118cd993b --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/anonymous2methodReference/beforeCallToDefault.java @@ -0,0 +1,16 @@ +// "Replace with method reference" "false" +class Test { + interface InOut { + void run() throws IOException; + default void foo(){} + } + + InOut bind() { + return new In<caret>Out() { + @Override + public void run() throws IOException { + foo(); + } + }; + } +}
\ No newline at end of file |