private static boolean methodContainsParameterWithName(@NotNull PsiMethod constructor, @NotNull String name) {
    return ContainerUtil.exists(constructor.getParameterList().getParameters(), parameter -> name.equals(parameter.getName()));
  }
private static boolean methodContainsParameterWithName(@NotNull PsiMethod constructor, @NotNull String name)