mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
check nullability
This commit is contained in:
+3
@@ -202,6 +202,9 @@ class PseudoLambdaReplaceTemplate {
|
||||
|
||||
for (int i = 0; i < arguments.length; i++) {
|
||||
PsiType type = arguments[i];
|
||||
if (type == null) {
|
||||
return null;
|
||||
}
|
||||
if (isFunction(type, methodReturnType, methodSubstitutor, context)) {
|
||||
if (lambdaPosition == -1) {
|
||||
lambdaPosition = i;
|
||||
|
||||
Reference in New Issue
Block a user