diff options
Diffstat (limited to 'java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA122616.java')
-rw-r--r-- | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA122616.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA122616.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA122616.java new file mode 100644 index 000000000000..5963ad31c96c --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/IDEA122616.java @@ -0,0 +1,18 @@ +import java.util.function.Function; + +class ChoiceBox<T> { + static { + ChoiceBox<Item> confParamField1 = new ChoiceBox<>("", p -> p.getName()); + ChoiceBox<Item> confParamField2 = new ChoiceBox<Item>("", p -> p.getName()); + } + + public ChoiceBox(T... options) {} + + public ChoiceBox(String caption, Function<T, String> itemCaption) {} + + public static class Item { + public String getName() { + return null; + } + } +}
\ No newline at end of file |