with should always be the pool that loaded the class.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@82
30ef5769-5b8d-40dd-aea6-
55b5d6557bb3
boolean write0(String classname, DataOutputStream out, boolean callback)
throws NotFoundException, CannotCompileException, IOException
{
- // first, delegate to the parent.
- if (parent != null && parent.write0(classname, out, callback))
- return true;
-
CtClass clazz = (CtClass)getCached(classname);
if (callback && translator != null
&& (clazz == null || !clazz.isFrozen())) {