public class LTWWorld extends BcelWorld implements IReflectionWorld
World.TypeMap| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map |
bootstrapTypes |
protected static java.lang.Class |
concurrentMapClass |
bcelRepositoryCaching, BOOLEAN, BYTE, CHAR, createInjarHierarchy, DOUBLE, FLOAT, forDEBUG_bridgingCode, forDEBUG_structuralChangesCode, generateNewLvts, infoMessagesEnabled, INT, LONG, optimizedMatching, SHORT, timersPerJoinpoint, timersPerType, typeMap, VOID, xsetAVOID_FINAL, xsetBCEL_REPOSITORY_CACHING, xsetBCEL_REPOSITORY_CACHING_DEFAULT, xsetCAPTURE_ALL_CONTEXT, xsetCOMPLETE_BINARY_TYPES, xsetCOMPLETE_BINARY_TYPES_DEFAULT, xsetDEBUG_BRIDGING, xsetDEBUG_STRUCTURAL_CHANGES_CODE, xsetFAST_PACK_METHODS, xsetGENERATE_NEW_LVTS, xsetGENERATE_STACKMAPS, xsetITD_VERSION, xsetITD_VERSION_2NDGEN, xsetITD_VERSION_DEFAULT, xsetITD_VERSION_ORIGINAL, xsetMINIMAL_MODEL, xsetOPTIMIZED_MATCHING, xsetOVERWEAVING, xsetPIPELINE_COMPILATION, xsetPIPELINE_COMPILATION_DEFAULT, xsetRUN_MINIMAL_MEMORY, xsetTARGETING_RUNTIME_1610, xsetTIMERS_PER_FASTMATCH_CALL, xsetTIMERS_PER_JOINPOINT, xsetTRANSIENT_TJP_FIELDS, xsetTYPE_DEMOTION, xsetTYPE_DEMOTION_DEBUG, xsetTYPE_REFS, xsetWEAVE_JAVA_PACKAGES, xsetWEAVE_JAVAX_PACKAGES| Constructor and Description |
|---|
LTWWorld(java.lang.ClassLoader loader,
IWeavingContext weavingContext,
IMessageHandler handler,
ICrossReferenceHandler xrefHandler)
Build a World from a ClassLoader, for LTW support
|
| Modifier and Type | Method and Description |
|---|---|
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()"
|
addAspectRequires, addPath, addScopedAspect, addSourceObjectType, addSourceObjectType, addSourceObjectType, addTypeDelegateResolver, buildBcelDelegate, classWriteEvent, clear, demote, determineRelKind, ensureRepositorySetup, findClass, fromBcel, getAspectScope, getBcelObjectType, getClassLoaderRepositoryFor, getModelAsAsmManager, getTypeMap, getWeavingSupport, getXmlConfiguration, hasUnsatisfiedDependency, isAspectIncluded, isXmlConfigured, loadClass, loadClass, makeBcelType, makeBcelType, makeBcelTypes, makeFieldJoinPointSignature, makeJoinPointSignatureForArrayConstruction, makeJoinPointSignatureForMethodInvocation, makeJoinPointSignatureForMonitorEnter, makeJoinPointSignatureForMonitorExit, makeJoinPointSignatureFromMethod, removeClass, reportCheckerMatch, reportMatch, resolve, setXmlConfigured, setXmlFiles, tidyUp, toString, validateType, weaveInterTypeDeclarationsareAllLintIgnored, areInfoMessagesEnabled, areSynchronizationPointcutsInUse, compareByPrecedence, compareByPrecedenceAndHierarchy, couldIncrementalCompileFollow, createAdviceMunger, demote, ensureAdvancedConfigurationProcessed, flush, forgetTypeVariablesCurrentlyBeingProcessed, getCoreType, getCrosscuttingMembersSet, getCrossReferenceHandler, getDeclareAnnotationOnFields, getDeclareAnnotationOnMethods, getDeclareAnnotationOnTypes, getDeclareParents, getDeclareSoft, getDeclareTypeEows, getExclusionMap, getExpendable, getExtraConfiguration, getFixed, getItdVersion, getLint, getMessageHandler, getModel, getPrecedenceIfAny, getRegisteredPointcutHandlers, getTargetAspectjRuntimeLevel, getTypeVariableLookupScope, getTypeVariablesCurrentlyBeingProcessed, isAddSerialVerUID, isDemotionActive, isExpendable, isHasMemberSupportEnabled, isIgnoringUnusedDeclaredThrownException, isInJava5Mode, isInPinpointMode, isJoinpointArrayConstructionEnabled, isJoinpointSynchronizationEnabled, isMinimalModel, isOverWeaving, isRunMinimalMemorySet, isTargettingAspectJRuntime12, isTargettingRuntime1_6_10, isTimingEnabled, isTransientTjpFields, isXlazyTjp, isXnoInline, lookupBySignature, lookupOrCreateName, performExtraConfiguration, record, recordFastMatch, recordTypeVariablesCurrentlyBeingProcessed, registerPointcutHandler, reportTimers, reset, resolve, resolve, resolve, resolve, resolve, resolve, resolve, resolve, resolveGenericTypeFor, resolveToReferenceType, setAddSerialVerUID, setAllLintIgnored, setBehaveInJava5Way, setCrossReferenceHandler, setErrorAndWarningThreshold, setIncrementalCompileCouldFollow, setLint, setMessageHandler, setModel, setOptionalJoinpoints, setPinpointMode, setSynchronizationPointcutsInUse, setTargetAspectjRuntimeLevel, setTiming, setTypeVariableLookupScope, setXHasMemberSupportEnabled, setXlazyTjp, setXnoInline, shouldFastPackMethods, shouldGenerateStackMaps, shouldPipelineCompilation, showMessage, useFinalprotected static final java.lang.Class concurrentMapClass
protected static java.util.Map bootstrapTypes
public LTWWorld(java.lang.ClassLoader loader,
IWeavingContext weavingContext,
IMessageHandler handler,
ICrossReferenceHandler xrefHandler)
public java.lang.ClassLoader getClassLoader()
protected ReferenceTypeDelegate resolveDelegate(ReferenceType ty)
WorldresolveDelegate in class BcelWorldprotected ReferenceTypeDelegate resolveIfBootstrapDelegate(ReferenceType ty)
public void loadedClass(java.lang.Class clazz)
clazz - public AnnotationFinder getAnnotationFinder()
getAnnotationFinder in interface IReflectionWorldpublic ResolvedType resolve(java.lang.Class aClass)
resolve in interface IReflectionWorldpublic boolean isRunMinimalMemory()
isRunMinimalMemory in class Worldprotected void completeBinaryType(ResolvedType ret)
WorldcompleteBinaryType in class Worldprotected boolean needsCompletion()
public boolean isLocallyDefined(java.lang.String classname)
WorldisLocallyDefined in class Worldprotected ResolvedType completeNonLocalType(ResolvedType ret)
public void storeClass(JavaClass clazz)
RepositorystoreClass in interface RepositorystoreClass in class BcelWorldpublic void accept(Dump.IVisitor visitor)
Worldaccept in interface Dump.INodeaccept in class Worldpublic boolean isLoadtimeWeaving()
isLoadtimeWeaving in class BcelWorld