You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow 3rd party JAXB plugins to modify the model in a proper way, I would like to ask you to implement JVar.annotate(JAnnotationUse annotation) method:
public void annotate(JAnnotationUse annotation) {
if (annotations == null)
annotations = new ArrayList<>();
annotations.add(annotation);
}
Also check isAnnotated() method which is not correctly implemented: the annotation could be added and then removed hence annotations collection may be empty, so correct implementation could be:
Dear community,
To allow 3rd party JAXB plugins to modify the model in a proper way, I would like to ask you to implement
JVar.annotate(JAnnotationUse annotation)
method:Also check
isAnnotated()
method which is not correctly implemented: the annotation could be added and then removed henceannotations
collection may be empty, so correct implementation could be:P.S. The method is supposed to be used in jaxb-xew-plugin project.
The text was updated successfully, but these errors were encountered: