org.aspectj.weaver.loadtime
Class ClassLoaderWeavingAdaptor
- IMessageContext
public class ClassLoaderWeavingAdaptor
accept , addURL , createMessageHandler , debug , disable , dump , enable , ensureDelegateInitialized , error , error , getContextId , getMessageHandler , getMessageHolder , info , isEnabled , setMessageHandler , shouldDump , warn , warn , weaveClass |
ClassLoaderWeavingAdaptor
public ClassLoaderWeavingAdaptor()
ClassLoaderWeavingAdaptor
public ClassLoaderWeavingAdaptor(ClassLoader deprecatedLoader,
IWeavingContext deprecatedContext)
We don't need a reference to the class loader and using it during
construction can cause problems with recursion. It also makes sense
to supply the weaving context during initialization to.
flushGeneratedClasses
public void flushGeneratedClasses()
Flush the generated classes cache
generatedClassesExistFor
public boolean generatedClassesExistFor(String className)
Check to see if any classes are stored in the generated classes cache.
Then flush the cache if it is not empty
- true if a class has been generated and is stored in the cache
getNamespace
public String getNamespace()
initialize
protected void initialize(ClassLoader classLoader,
IWeavingContext context)
lint
protected void lint(String name,
String[] infos)