private QuercusClass createClassFromCache(int id,
boolean useAutoload,
boolean useImport)
{
if (id < _classDef.length && _classDef[id] != null) {
ClassDef classDef = _classDef[id];
String parentName = classDef.getParentName();
QuercusClass parent = null;
if (parentName != null)
parent = findClass(parentName);
if (parentName == null || parent != null)
return createQuercusClass(id, classDef, parent);
else
return null; // php/
}
ClassDef staticClass = _quercus.getClassDef(id);
if (staticClass != null)
return createQuercusClass(id, staticClass, null); // XXX: cache
else
return null;