[java] IJ-CR-103082 Check value arguments inside updateParameterValues

GitOrigin-RevId: 9745ac494644ab3269a9c7d02cfe8f681ba5f9da
This commit is contained in:
Bart van Helvert
2023-02-28 11:17:24 +01:00
committed by intellij-monorepo-bot
parent 4380257658
commit b80b9317be
2 changed files with 2 additions and 3 deletions

View File

@@ -453,9 +453,7 @@ public class RefJavaUtilImpl extends RefJavaUtil {
call = ObjectUtils.tryCast(qualifiedReference.getSelector(), UCallExpression.class);
}
if (call != null) {
if (!call.getValueArguments().isEmpty()) {
refMethod.updateParameterValues(call, psiResolved);
}
refMethod.updateParameterValues(call, psiResolved);
final PsiType usedType = call.getReceiverType();
if (usedType != null) {