} else if (hasAnnotation(decl, Collected.class)) {
builder.createCollected(name);
attributeNames.add(name);
collectionAttributes.add(name);
}
Cached cached = decl.getAnnotation(Cached.class);
if (cached != null && cached.value() == CacheMode.ALWAYS) {
builder.setCached(name);
}
if (hasAnnotation(decl, Circular.class)) {
builder.setCircular(name);
}