private void removeAnnotationReferencesThatPointToRemovedAnnotations() { if (hasAnyFieldValues()) { Map<Annotation, Annotation> annotationsStillPresent = new IdentityHashMap<Annotation, Annotation>(); for (Annotation a : this) { annotationsStillPresent.put(a, a); } for (Annotation a : this) { if (!a.hasFieldValue()) { continue; } //do we have any references to annotations that are NOT in this global list?? removeObsoleteReferencesFromFieldValue(a.getFieldValue(), annotationsStillPresent, false); } } }
continue; FieldValue val = anno.getFieldValue(); String str; if (val instanceof StringFieldValue) {
continue; FieldValue value = a.getFieldValue(); continue; removeObsoleteReferencesFromFieldValue(a.getFieldValue(), removedAnnotations, true);
continue; setCorrectAnnotationReference(a.getFieldValue(), originalAnnotations, newAnnotations);
annotation.getFieldValue().serialize(this);
annotation.getFieldValue().serialize(this);