@Nullable
  private static GrMethod createMethodIfNotExists(final PsiField field, @Nullable final GrMethod template) {
    PsiMethod existing = field.getContainingClass().findMethodBySignature(template, false);
    return existing == null || existing instanceof GrAccessorMethod ? template : null;
  }
@Nullable
  private static GrMethod createMethodIfNotExists(final PsiField field, @Nullable final GrMethod template)