this.errors = errors;
}
private void visitBean(ITypeBinding type) {
Bean bean = new Bean(getVisibility(type.getModifiers()), type.getQualifiedName());
beans.push(bean);
if (!populateBean(type, bean)) {
return;
}
// check if we need to extend a super meta class
ITypeBinding cursor = type.getSuperclass();
while (cursor != null) {
Bean superbean = new Bean(getVisibility(cursor.getModifiers()), cursor.getQualifiedName());
if (!populateBean(cursor, superbean)) {
break;
}
if (superbean.willGenerateMeta()) {
String supername = getMetaSuperName(cursor);
bean.setSuperclass(supername);
break;
}
cursor = cursor.getSuperclass();