functional interface suggester: check return types and try to infer

This commit is contained in:
Anna Kozlova
2014-12-12 19:28:55 +01:00
parent c138ff43f1
commit 9b4cacf341
7 changed files with 58 additions and 11 deletions
@@ -1,6 +1,6 @@
@FunctionalInterface
interface I<T> {
void foo(T t);
T foo(T t);
}
class Foo {
@@ -1,6 +1,6 @@
@FunctionalInterface
interface I<T> {
void foo(T t);
T foo(T t);
}
class Foo {