| java.lang.Object javassist.ClassPool javassist.scopedpool.ScopedClassPool
ScopedClassPool | protected ScopedClassPool(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository)(Code) | | Create a new ScopedClassPool.
Parameters: cl - the classloader Parameters: src - the original class pool Parameters: repository - the repository |
cacheCtClass | protected void cacheCtClass(String classname, CtClass c, boolean dynamic)(Code) | | Cache a class
Parameters: classname - the class name Parameters: c - the ctClass Parameters: dynamic - whether the class is dynamically generated |
close | public void close()(Code) | | Close the class pool
|
flushClass | public synchronized void flushClass(String classname)(Code) | | Flush a class
Parameters: classname - the class to flush |
getCached | protected CtClass getCached(String classname)(Code) | | Get the cached class
Parameters: classname - the class name the class |
getCachedLocally | protected CtClass getCachedLocally(String classname)(Code) | | Whether the class is cached in this pooled
Parameters: classname - the class name the cached class |
getClassLoader | public ClassLoader getClassLoader()(Code) | | Get the class loader
the class loader |
isUnloadedClassLoader | public boolean isUnloadedClassLoader()(Code) | | Whether the classloader is loader
false always |
lockInCache | public void lockInCache(CtClass c)(Code) | | Lock a class into the cache
Parameters: c - the class |
soften | public synchronized void soften(CtClass clazz)(Code) | | Soften a class
Parameters: clazz - the class |
Methods inherited from javassist.ClassPool | public ClassPath appendClassPath(ClassPath cp)(Code)(Java Doc) public ClassPath appendClassPath(String pathname) throws NotFoundException(Code)(Java Doc) public void appendPathList(String pathlist) throws NotFoundException(Code)(Java Doc) public ClassPath appendSystemPath()(Code)(Java Doc) protected void cacheCtClass(String classname, CtClass c, boolean dynamic)(Code)(Java Doc) public void clearImportedPackages()(Code)(Java Doc) protected CtClass createCtClass(String classname, boolean useCache)(Code)(Java Doc) public URL find(String classname)(Code)(Java Doc) public CtClass get(String classname) throws NotFoundException(Code)(Java Doc) public CtClass[] get(String[] classnames) throws NotFoundException(Code)(Java Doc) protected synchronized CtClass get0(String classname, boolean useCache) throws NotFoundException(Code)(Java Doc) public CtClass getAndRename(String orgName, String newName) throws NotFoundException(Code)(Java Doc) protected CtClass getCached(String classname)(Code)(Java Doc) public ClassLoader getClassLoader()(Code)(Java Doc) public static synchronized ClassPool getDefault()(Code)(Java Doc) public Iterator getImportedPackages()(Code)(Java Doc) public CtMethod getMethod(String classname, String methodname) throws NotFoundException(Code)(Java Doc) public void importPackage(String packageName)(Code)(Java Doc) public ClassPath insertClassPath(ClassPath cp)(Code)(Java Doc) public ClassPath insertClassPath(String pathname) throws NotFoundException(Code)(Java Doc) public Object[] lookupCflow(String name)(Code)(Java Doc) public CtClass makeClass(InputStream classfile) throws IOException, RuntimeException(Code)(Java Doc) public CtClass makeClass(String classname) throws RuntimeException(Code)(Java Doc) public synchronized CtClass makeClass(String classname, CtClass superclass) throws RuntimeException(Code)(Java Doc) public CtClass makeInterface(String name) throws RuntimeException(Code)(Java Doc) public synchronized CtClass makeInterface(String name, CtClass superclass) throws RuntimeException(Code)(Java Doc) public void recordInvalidClassName(String name)(Code)(Java Doc) protected CtClass removeCached(String classname)(Code)(Java Doc) public void removeClassPath(ClassPath cp)(Code)(Java Doc) public Class toClass(CtClass clazz) throws CannotCompileException(Code)(Java Doc) public Class toClass(CtClass ct, ClassLoader loader) throws CannotCompileException(Code)(Java Doc) public Class toClass(CtClass ct, ClassLoader loader, ProtectionDomain domain) throws CannotCompileException(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|