|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aspectj.weaver.World org.aspectj.weaver.bcel.BcelWorld org.aspectj.weaver.ltw.LTWWorld
public class LTWWorld
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.aspectj.weaver.World |
---|
World.TypeMap |
Field Summary | |
---|---|
protected static java.util.Map |
bootstrapTypes
|
protected static java.lang.Class |
concurrentMapClass
|
Fields inherited from class org.aspectj.weaver.bcel.BcelWorld |
---|
delegate |
Constructor Summary | |
---|---|
LTWWorld(java.lang.ClassLoader loader,
IWeavingContext weavingContext,
IMessageHandler handler,
ICrossReferenceHandler xrefHandler)
Build a World from a ClassLoader, for LTW support |
Method Summary | |
---|---|
void |
accept(Dump.IVisitor visitor)
Dump processing when a fatal error occurs |
protected void |
completeBinaryType(ResolvedType ret)
Called when a type is resolved - enables its type hierarchy to be finished off before we proceed |
protected ResolvedType |
completeNonLocalType(ResolvedType ret)
|
AnnotationFinder |
getAnnotationFinder()
|
java.lang.ClassLoader |
getClassLoader()
|
boolean |
isLoadtimeWeaving()
|
boolean |
isLocallyDefined(java.lang.String classname)
Return true if the classloader relating to this world is definetly the one that will define the specified class. |
boolean |
isRunMinimalMemory()
|
void |
loadedClass(java.lang.Class clazz)
Remove this class from the typeMap. |
protected boolean |
needsCompletion()
|
ResolvedType |
resolve(java.lang.Class aClass)
|
protected ReferenceTypeDelegate |
resolveDelegate(ReferenceType ty)
Find the ReferenceTypeDelegate behind this reference type so that it can fulfill its contract. |
protected ReferenceTypeDelegate |
resolveIfBootstrapDelegate(ReferenceType ty)
|
void |
storeClass(JavaClass clazz)
Store the provided class under "clazz.getClassName()" |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.Class concurrentMapClass
protected static java.util.Map bootstrapTypes
Constructor Detail |
---|
public LTWWorld(java.lang.ClassLoader loader, IWeavingContext weavingContext, IMessageHandler handler, ICrossReferenceHandler xrefHandler)
Method Detail |
---|
public java.lang.ClassLoader getClassLoader()
protected ReferenceTypeDelegate resolveDelegate(ReferenceType ty)
World
resolveDelegate
in class BcelWorld
protected ReferenceTypeDelegate resolveIfBootstrapDelegate(ReferenceType ty)
public void loadedClass(java.lang.Class clazz)
clazz
- public AnnotationFinder getAnnotationFinder()
getAnnotationFinder
in interface IReflectionWorld
public ResolvedType resolve(java.lang.Class aClass)
resolve
in interface IReflectionWorld
public boolean isRunMinimalMemory()
isRunMinimalMemory
in class World
protected void completeBinaryType(ResolvedType ret)
World
completeBinaryType
in class World
protected boolean needsCompletion()
public boolean isLocallyDefined(java.lang.String classname)
World
isLocallyDefined
in class World
protected ResolvedType completeNonLocalType(ResolvedType ret)
public void storeClass(JavaClass clazz)
Repository
storeClass
in interface Repository
storeClass
in class BcelWorld
public void accept(Dump.IVisitor visitor)
World
accept
in interface Dump.INode
accept
in class World
public boolean isLoadtimeWeaving()
isLoadtimeWeaving
in class BcelWorld
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |