String pkgName = "";
if (dot != -1) {
pkgName = clazzName.substring(0,dot);
clazzName = clazzName.substring(dot+1);
}
MClass clazz = mCache.createClassToBuild(pkgName,clazzName,null);
//
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);