void (final PsiMethod patternMethod, int typeParamIndex, List<? super PatternMethod> patternMethods, int argIdx) { if (patternMethod != null) { patternMethods.add(new PatternMethod(patternMethod, typeParamIndex, argIdx)); } }