clazz.setIsInterface(assertCurrentBoolean(ISINTERFACE));
clazz.setModifiers(assertCurrentInt(MODIFIERS));
String supername = checkCurrentString(SUPERCLASS);
if (supername != null) clazz.setSuperclass(supername);
while((supername = checkCurrentString(INTERFACE)) != null) {
clazz.addInterface(supername);
}
while(FIELD.equals(getElementName())) readField(clazz);
while(CONSTRUCTOR.equals(getElementName())) readConstructor(clazz);
while(METHOD.equals(getElementName())) readMethod(clazz);
readAnnotatedElement(clazz);