public static boolean isApplicable(@NotNull PsiMethod method,
                                     @NotNull PsiSubstitutor substitutorForMethod,
                                     PsiExpression @NotNull [] argList) {
    PsiType[] types = ContainerUtil.map2Array(argList, PsiType.class, PsiExpression.EXPRESSION_TO_TYPE);
    return getApplicabilityLevel(method, substitutorForMethod, types, getLanguageLevel(method)) != ApplicabilityLevel.NOT_APPLICABLE;
  }
public static boolean isApplicable(@NotNull PsiMethod method,
                                     @NotNull PsiSubstitutor substitutorForMethod,
                                     PsiExpression @NotNull [] argList)