Iterator itr = grps.iterator();
while (itr.hasNext()) {
AttributeGroupReference grpInfo =
(AttributeGroupReference) itr.next();
String name = grpInfo.getDefinition().getName();
AttributesStructure sttr =
grpInfo.getDefinition().getAttributesStructure();
if (!name.equals("CacheAttributes")) {
c.addAll(getNonCacheAttributes(sttr, cacheAttributes));
} else {
cacheAttributes.addAll(sttr.getAttributes());
}
}
}
return c;