Exemplo n.º 1
0
 public boolean addAnnotationIfNew(OJAnnotationValue value) {
   if (f_annotations.containsKey(value.getType())) {
     return false;
   } else {
     putAnnotation(value);
     return true;
   }
 }
Exemplo n.º 2
0
 public OJAnnotationValue putAnnotation(OJAnnotationValue value) {
   return f_annotations.put(value.getType(), value);
 }