public void addAttribute(@NlsSafe @Nullable String name, @NlsSafe @NotNull String value) {
    GroovyPsiElementFactory factory = GroovyPsiElementFactory.getInstance(getProject());
    String text = name != null ? name + "=" + value : value;
    myAnnotationArgList.addAttribute(factory.createAnnotationAttribute(text, this));
  }
public void addAttribute(@NlsSafe @Nullable String name, @NlsSafe @NotNull String value)