mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
functional interface suggester: check return types and try to infer
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
@FunctionalInterface
|
||||
interface I<T> {
|
||||
void foo(T t);
|
||||
T foo(T t);
|
||||
}
|
||||
|
||||
class Foo {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
@FunctionalInterface
|
||||
interface I<T> {
|
||||
void foo(T t);
|
||||
T foo(T t);
|
||||
}
|
||||
|
||||
class Foo {
|
||||
|
||||
Reference in New Issue
Block a user