// Public methods
public void addAnnotationClasses(JClass[] classes) {
for(int i=0; i<classes.length; i++) {
if (classes[i].isAnnotationType()) {
JAnnotation ann = classes[i].getAnnotation(mTiger.getAnnogenInfoClass());
if (ann == null) {
warn("Ignoring "+classes[i].getQualifiedName()+
" because it does not declare an @AnnogenInfo annotation.");
continue; //REVIEW should this be an error instead?
}
JAnnotationValue val = ann.getValue(ANNOGENINFO_ANNOBEAN_CLASSNAME);
if (val == null) { //should not happen - it's not an optional value
warn("Ignoring "+classes[i].getQualifiedName()+
" because its @AnnogenInfo annotation does specify an "+
ANNOGENINFO_ANNOBEAN_CLASSNAME);
continue; //REVIEW should this be an error instead?