PsiMethod (@NotNull PsiMethodCallExpression callExpression, PsiMethod[] methods, PsiExpression[] arguments, int argumentOffset) { final JavaReflectionInvocationInspection.Arguments methodArguments = JavaReflectionInvocationInspection.getActualMethodArguments(arguments, argumentOffset, MethodCallUtils.isVarArgCall(callExpression)); if (methodArguments == null) { return null; } final List<ReflectiveType> argumentTypes = ContainerUtil.map(methodArguments.expressions(), JavaReflectionReferenceUtil::getReflectiveType); return JavaLangClassMemberReference.matchMethod(methods, argumentTypes); }