List<MethodSignature> (GrMethod method, PsiSubstitutor substitutor) { GrSignature signature = createSignature(method, substitutor); String name = method.getName(); PsiTypeParameter[] typeParameters = method.getTypeParameters(); final ArrayList<MethodSignature> result = new ArrayList<>(); generateAllMethodSignaturesByClosureSignature(name, signature, typeParameters, substitutor, result); return result; }