Exemple #1
0
 /** {@inheritDoc} */
 public void removeAnnotation(AnnotationType annotationType) {
   if (null == annotations) {
     return;
   }
   annotations.remove(annotationType);
 }
Exemple #2
0
 /** {@inheritDoc} */
 public void addAnnotationNoBidirectionalUpdate(AnnotationType annotationType) {
   if (null == annotations) {
     annotations = new TypeSet<AnnotationType>();
   }
   annotations.addOrUpdate(annotationType);
 }