if (type == null) {
break;
}
TypeInfo typeInfo = factory.getType(type);
supertypes.add(typeInfo);
rawClass = typeInfo.getRawType();
}
}
// interfaces
int interfaceCount;
for (interfaceCount = 0; !interfaceQueue.isEmpty(); interfaceCount++) {
type = interfaceQueue.pop();
TypeInfo typeInfo = factory.getType(type);
supertypes.add(typeInfo);
rawClass = typeInfo.getRawType();
interfaceQueue.push(rawClass.getGenericInterfaces());
}
// Object
if (hasObject) {