mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 10:07:41 +07:00
pertinent to applicability: reject nested lambdas if they target non proper type
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ public class LambdaHighlightingUtil {
|
||||
if (signatures.size() == 1) {
|
||||
return null;
|
||||
}
|
||||
return "Multiple non-overriding abstract methods found";
|
||||
return "Multiple non-overriding abstract methods found in interface " + HighlightUtil.formatClass(psiClass);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user