예제 #1
0
파일: Type.java 프로젝트: thkluge/inspectIT
 /** {@inheritDoc} */
 public void removeAnnotation(AnnotationType annotationType) {
   if (null == annotations) {
     return;
   }
   annotations.remove(annotationType);
 }
예제 #2
0
파일: Type.java 프로젝트: thkluge/inspectIT
 /** {@inheritDoc} */
 public void addAnnotationNoBidirectionalUpdate(AnnotationType annotationType) {
   if (null == annotations) {
     annotations = new TypeSet<AnnotationType>();
   }
   annotations.addOrUpdate(annotationType);
 }