private static void addSingleParameterMethod(List<? super PatternMethod> patternMethods,
                                               PsiClass methodClass, String methodName, PsiClassType parameterType) {
    MethodSignature signature = MethodSignatureUtil
      .createMethodSignature(methodName, new PsiType[]{parameterType}, PsiTypeParameter.EMPTY_ARRAY, PsiSubstitutor.EMPTY);
    PsiMethod method = MethodSignatureUtil.findMethodBySignature(methodClass, signature, false);
    addMethod(method, 0, patternMethods, 0);
  }
private static void addSingleParameterMethod(List<? super PatternMethod> patternMethods,
                                               PsiClass methodClass, String methodName, PsiClassType parameterType)