rivate static Optional<PsiMethod> getExistingConstructorForParameters(@NotNull PsiClass parentClass,
                                                                         Collection<BuilderInfo> builderInfos) {
    final Collection<PsiMethod> classConstructors = PsiClassUtil.collectClassConstructorIntern(parentClass);
    return classConstructors.stream()
      .filter(m -> sameParameters(m.getParameterList().getParameters(), builderInfos))
      .findFirst();
  }

rivate static Optional<PsiMethod> getExistingConstructorForParameters(@NotNull PsiClass parentClass,
                                                                         Collection<BuilderInfo> builderInfos) 