public static @NotNull PsiMethod generateGetterPrototype(@NotNull PsiField field) {
    return generateGetterPrototype(field, true);
  }
public static @NotNull PsiMethod generateGetterPrototype(@NotNull PsiField field)