mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
same parameter value inspection should not report anything if value is not accessible in method context
This commit is contained in:
@@ -159,7 +159,7 @@ public class RefJavaUtilImpl extends RefJavaUtil{
|
||||
}
|
||||
|
||||
if (refConstructor != null) {
|
||||
refConstructor.updateParameterValues(psiParams);
|
||||
refConstructor.updateParameterValues(psiParams, psiConstructor);
|
||||
}
|
||||
}
|
||||
return refConstructor;
|
||||
@@ -269,7 +269,7 @@ public class RefJavaUtilImpl extends RefJavaUtil{
|
||||
|
||||
PsiExpressionList argumentList = call.getArgumentList();
|
||||
if (!argumentList.isEmpty()) {
|
||||
refMethod.updateParameterValues(argumentList.getExpressions());
|
||||
refMethod.updateParameterValues(argumentList.getExpressions(), psiMethod);
|
||||
}
|
||||
|
||||
final PsiExpression psiExpression = call.getMethodExpression().getQualifierExpression();
|
||||
|
||||
Reference in New Issue
Block a user