mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
lambda: effectively final parameters: copy in final variable if needed - never make implicitly final
This commit is contained in:
@@ -259,6 +259,8 @@ public final class PsiUtil extends PsiUtilCore {
|
||||
}
|
||||
else if (declarationScope instanceof PsiMethod) {
|
||||
codeBlock = ((PsiMethod)declarationScope).getBody();
|
||||
} else if (declarationScope instanceof PsiLambdaExpression) {
|
||||
codeBlock = ((PsiLambdaExpression)declarationScope).getBody();
|
||||
}
|
||||
}
|
||||
else if (variable instanceof PsiResourceVariable) {
|
||||
|
||||
Reference in New Issue
Block a user