diff options
Diffstat (limited to 'java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128174.java')
-rw-r--r-- | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128174.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128174.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128174.java new file mode 100644 index 000000000000..650114b06e50 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA128174.java @@ -0,0 +1,24 @@ +import java.util.Collection; +import java.util.List; + +class Test { + + { + Matcher<? super List<String>> m = not(empty()); + } + + static <E> Matcher<Collection<E>> empty() { + return null; + } + + static <T> Matcher<T> not(Matcher<T> matcher) { + return null; + } + + static <T> Matcher<T> not(T value) { + return null; + } + + static class Matcher<K> {} +} + |