public static List<MethodSignature> generateAllMethodSignaturesBySignature(@NotNull final String name,
                                                                             @NotNull final List<? extends GrSignature> signatures) {
    final ArrayList<MethodSignature> result = new ArrayList<>();

    for (GrSignature signature : signatures) {
      generateAllMethodSignaturesByClosureSignature(name, signature, PsiTypeParameter.EMPTY_ARRAY, PsiSubstitutor.EMPTY, result);
    }

    return result;
  }
public static List<MethodSignature> generateAllMethodSignaturesBySignature(@NotNull final String name,
                                                                             @NotNull final List<? extends GrSignature> signatures)