Logo Search packages:      
Sourcecode: aspectj version File versions

org::aspectj::weaver::ltw::LTWWorld Class Reference

Inheritance diagram for org::aspectj::weaver::ltw::LTWWorld:


List of all members.

Detailed Description


Ron Bodkin

For use in LT weaving

Backed by both a BcelWorld and a ReflectionWorld

Needs a callback when a woven class is defined This is the trigger for us to ditch the class from Bcel and cache it in the reflective world instead.

Create by passing in a classloader, message handler

Definition at line 49 of file LTWWorld.java.

Public Member Functions

void accept (Dump.IVisitor visitor)
void accept (IVisitor visitor)
void addPath (String name)
BcelObjectType addSourceObjectType (JavaClass jc)
boolean areSynchronizationPointcutsInUse ()
BcelObjectType buildBcelDelegate (ReferenceType resolvedTypeX, JavaClass jc, boolean exposedToWeaver)
void clear ()
int compareByPrecedence (ResolvedType aspect1, ResolvedType aspect2)
int compareByPrecedenceAndHierarchy (ResolvedType aspect1, ResolvedType aspect2)
boolean couldIncrementalCompileFollow ()
final Advice createAdviceMunger (AdviceKind kind, Pointcut p, Member signature, int extraParameterFlags, IHasSourceLocation loc)
void demote ()
IRelationship.Kind determineRelKind (ShadowMunger munger)
void ensureAdvancedConfigurationProcessed ()
void ensureRepositorySetup ()
JavaClass findClass (String className)
void flush ()
void forgetTypeVariablesCurrentlyBeingProcessed (Class baseClass)
AnnotationFinder getAnnotationFinder ()
TypePattern getAspectScope (ResolvedType declaringType)
ClassLoader getClassLoader ()
Repository getClassLoaderRepositoryFor (ClassLoaderReference loader)
ResolvedType getCoreType (UnresolvedType tx)
CrosscuttingMembersSet getCrosscuttingMembersSet ()
ICrossReferenceHandler getCrossReferenceHandler ()
List getDeclareAnnotationOnFields ()
List getDeclareAnnotationOnMethods ()
List getDeclareAnnotationOnTypes ()
List getDeclareParents ()
List getDeclareSoft ()
Map getExpendable ()
Properties getExtraConfiguration ()
Map getFixed ()
Lint getLint ()
IMessageHandler getMessageHandler ()
IStructureModel getModel ()
AsmManager getModelAsAsmManager ()
Integer getPrecedenceIfAny (ResolvedType aspect1, ResolvedType aspect2)
Set getRegisteredPointcutHandlers ()
String getTargetAspectjRuntimeLevel ()
TypeVariableDeclaringElement getTypeVariableLookupScope ()
TypeVariable[] getTypeVariablesCurrentlyBeingProcessed (Class baseClass)
IWeavingSupport getWeavingSupport ()
boolean isAddSerialVerUID ()
boolean isAspectIncluded (ResolvedType aspectType)
boolean isHasMemberSupportEnabled ()
boolean isIgnoringUnusedDeclaredThrownException ()
boolean isInJava5Mode ()
boolean isInPinpointMode ()
boolean isJoinpointArrayConstructionEnabled ()
boolean isJoinpointSynchronizationEnabled ()
boolean isLocallyDefined (String classname)
boolean isRunMinimalMemory ()
boolean isTargettingAspectJRuntime12 ()
boolean isXlazyTjp ()
boolean isXmlConfigured ()
boolean isXnoInline ()
JavaClass loadClass (Class clazz) throws ClassNotFoundException
JavaClass loadClass (String className) throws ClassNotFoundException
void loadedClass (Class clazz)
ReferenceType lookupBySignature (String signature)
ReferenceType lookupOrCreateName (UnresolvedType ty)
 LTWWorld (ClassLoader loader, IWeavingContext weavingContext, IMessageHandler handler, ICrossReferenceHandler xrefHandler)
Member makeJoinPointSignatureForArrayConstruction (LazyClassGen cg, InstructionHandle handle)
Member makeJoinPointSignatureForMethodInvocation (LazyClassGen cg, InvokeInstruction ii)
Member makeJoinPointSignatureForMonitorEnter (LazyClassGen cg, InstructionHandle h)
Member makeJoinPointSignatureForMonitorExit (LazyClassGen cg, InstructionHandle h)
Member makeJoinPointSignatureFromMethod (LazyMethodGen mg, MemberKind kind)
void performExtraConfiguration (String config)
void recordTypeVariablesCurrentlyBeingProcessed (Class baseClass, TypeVariable[] typeVariables)
void registerPointcutHandler (PointcutDesignatorHandler designatorHandler)
void removeClass (JavaClass clazz)
void reportCheckerMatch (Checker checker, Shadow shadow)
void reportMatch (ShadowMunger munger, Shadow shadow)
ResolvedMember resolve (Member member)
ResolvedType resolve (String name, boolean allowMissing)
ResolvedType resolve (String name)
ResolvedType resolve (ResolvedType ty)
ResolvedType resolve (UnresolvedType ty, boolean allowMissing)
ResolvedType[] resolve (UnresolvedType[] types)
ResolvedType resolve (UnresolvedType ty, ISourceLocation isl)
ResolvedType resolve (UnresolvedType ty)
ResolvedType resolve (Type t)
ResolvedType resolve (Class aClass)
ResolvedType resolveGenericTypeFor (UnresolvedType anUnresolvedType, boolean allowMissing)
void setAddSerialVerUID (boolean b)
void setBehaveInJava5Way (boolean b)
void setCrossReferenceHandler (ICrossReferenceHandler xrefHandler)
void setErrorAndWarningThreshold (long errorThreshold, long warningThreshold)
void setIncrementalCompileCouldFollow (boolean b)
void setLint (Lint lint)
void setMessageHandler (IMessageHandler messageHandler)
void setModel (IStructureModel model)
void setOptionalJoinpoints (String jps)
void setPinpointMode (boolean b)
void setSynchronizationPointcutsInUse ()
void setTargetAspectjRuntimeLevel (String s)
void setTypeVariableLookupScope (TypeVariableDeclaringElement scope)
void setXHasMemberSupportEnabled (boolean b)
void setXlazyTjp (boolean b)
void setXmlConfigured (boolean b)
void setXmlFiles (List xmlFiles)
void setXnoInline (boolean xnoInline)
boolean shouldFastPackMethods ()
boolean shouldGenerateStackMaps ()
boolean shouldPipelineCompilation ()
void showMessage (Kind kind, String message, ISourceLocation loc1, ISourceLocation loc2)
void storeClass (JavaClass clazz)
void tidyUp ()
String toString ()
void validateType (UnresolvedType type)

Static Public Member Functions

static UnresolvedType fromBcel (Type t)
static BcelObjectType getBcelObjectType (ResolvedType concreteAspect)
static Type makeBcelType (UnresolvedType type)
static Member makeFieldJoinPointSignature (LazyClassGen cg, FieldInstruction fi)

Public Attributes

boolean forDEBUG_bridgingCode = false
boolean forDEBUG_structuralChangesCode = false

Static Public Attributes

static boolean createInjarHierarchy = true
static final String xsetBCEL_REPOSITORY_CACHING = "bcelRepositoryCaching"
static final String xsetBCEL_REPOSITORY_CACHING_DEFAULT = "true"
static final String xsetCAPTURE_ALL_CONTEXT = "captureAllContext"
static final String xsetCOMPLETE_BINARY_TYPES = "completeBinaryTypes"
static final String xsetCOMPLETE_BINARY_TYPES_DEFAULT = "false"
static final String xsetDEBUG_BRIDGING = "debugBridging"
static final String xsetDEBUG_STRUCTURAL_CHANGES_CODE = "debugStructuralChangesCode"
static final String xsetFAST_PACK_METHODS = "fastPackMethods"
static final String xsetGENERATE_STACKMAPS = "generateStackMaps"
static final String xsetPIPELINE_COMPILATION = "pipelineCompilation"
static final String xsetPIPELINE_COMPILATION_DEFAULT = "true"
static final String xsetRUN_MINIMAL_MEMORY = "runMinimalMemory"
static final String xsetTYPE_DEMOTION = "typeDemotion"
static final String xsetTYPE_DEMOTION_DEBUG = "typeDemotionDebug"
static final String xsetTYPE_REFS = "useWeakTypeRefs"
static final String xsetWEAVE_JAVA_PACKAGES = "weaveJavaPackages"
static final String xsetWEAVE_JAVAX_PACKAGES = "weaveJavaxPackages"

Protected Member Functions

void completeBinaryType (ResolvedType ret)
ResolvedType completeNonLocalType (ResolvedType ret)
boolean isExpendable (ResolvedType type)
boolean needsCompletion ()
ReferenceTypeDelegate resolveDelegate (ReferenceType ty)
ReferenceTypeDelegate resolveIfBootstrapDelegate (ReferenceType ty)
void weaveInterTypeDeclarations (ResolvedType onType)

Protected Attributes

boolean bcelRepositoryCaching = xsetBCEL_REPOSITORY_CACHING_DEFAULT.equalsIgnoreCase("true")
Repository delegate
TypeMap typeMap = new TypeMap(this)

Static Protected Attributes

static Map bootstrapTypes
static final Class concurrentMapClass

Package Functions

void deleteSourceObjectType (UnresolvedType ty)

Static Package Functions

 [static initializer]
static UnresolvedType[] fromBcel (Type[] ts)
static Type[] makeBcelTypes (UnresolvedType[] types)
static String[] makeBcelTypesAsClassNames (UnresolvedType[] types)

Private Member Functions

void completeHierarchyForType (ResolvedType ret)
ReferenceTypeDelegate resolveReflectionTypeDelegate (ReferenceType ty, ClassLoader resolutionLoader)

Static Private Member Functions

static Map makeConcurrentMap ()
static Class makeConcurrentMapClass ()

Private Attributes

AnnotationFinder annotationFinder
String classLoaderParentString
String classLoaderString
boolean typeCompletionInProgress = false
List typesForCompletion = new ArrayList()
IWeavingContext weavingContext

Static Private Attributes

static final long serialVersionUID = 1
static final boolean ShareBootstrapTypes = false

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index