summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA122100.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA122100.java')
-rw-r--r--java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA122100.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA122100.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA122100.java
new file mode 100644
index 000000000000..e6b44e44f6a5
--- /dev/null
+++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/IDEA122100.java
@@ -0,0 +1,20 @@
+import java.util.ArrayList;
+import java.util.List;
+import java.util.function.BiFunction;
+import java.util.function.Function;
+
+class InferenceExample<E> {
+ public <Output> List<Output> convertAll(Function<E, Output> converter) {
+ return invoke (MyArrayList::convertAll, converter);
+ }
+
+ protected <A, R> R invoke(BiFunction<MyArrayList<E>, A, R> action, A arg) {
+ return null;
+ }
+
+ public class MyArrayList<T> extends ArrayList<T> {
+ public <Output1> List<Output1> convertAll(Function<T, Output1> converter) {
+ return null;
+ }
+ }
+} \ No newline at end of file