method refs: infer from functional interface return types

This commit is contained in:
anna
2012-10-05 10:37:45 +02:00
parent 4eeaeb4f2f
commit 9488b020db
4 changed files with 199 additions and 39 deletions

View File

@@ -105,6 +105,10 @@ public class MethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testInferenceFromReturnType() throws Exception {
doTest(true);
}
public void testReturnTypeSpecific() throws Exception {
doTest(true);
}