in processor/src/main/java/org/apache/commons/weaver/model/Weavable.java [71:88]
public final boolean addAnnotations(final Iterable<Annotation> toAdd) {
if (toAdd == null) {
return false;
}
synchronized (this) {
if (annotations == null) {
annotations = new LinkedHashSet<>();
}
boolean result = false;
for (final Annotation ann : toAdd) {
if (ann == null) {
continue;
}
result = annotations.add(ann) || result;
}
return result;
}
}