public class ReflectionWorld extends World implements IReflectionWorld
Modifier and Type | Class and Description |
---|---|
static class |
ReflectionWorld.ReflectionWorldException |
World.TypeMap
bcelRepositoryCaching, BOOLEAN, BYTE, CHAR, createInjarHierarchy, DOUBLE, FLOAT, forDEBUG_bridgingCode, forDEBUG_structuralChangesCode, generateNewLvts, infoMessagesEnabled, INT, LONG, optimizedMatching, RUNTIME_LEVEL_DEFAULT, 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 |
---|
ReflectionWorld(boolean forceUseOf14Delegates,
java.lang.ClassLoader aClassLoader) |
ReflectionWorld(java.lang.ClassLoader aClassLoader) |
ReflectionWorld(WeakClassLoaderReference classloaderRef) |
Modifier and Type | Method and Description |
---|---|
static void |
cleanUpWorlds() |
AnnotationFinder |
getAnnotationFinder() |
java.lang.ClassLoader |
getClassLoader() |
static ReflectionWorld |
getReflectionWorldFor(WeakClassLoaderReference classLoaderReference) |
IWeavingSupport |
getWeavingSupport() |
boolean |
isLoadtimeWeaving() |
static AnnotationFinder |
makeAnnotationFinderIfAny(java.lang.ClassLoader loader,
World world) |
ResolvedType |
resolve(java.lang.Class aClass) |
static ResolvedType |
resolve(World world,
java.lang.Class<?> aClass) |
protected ReferenceTypeDelegate |
resolveDelegate(ReferenceType ty)
Find the ReferenceTypeDelegate behind this reference type so that it can fulfill its contract.
|
ResolvedType |
resolveUsingClass(java.lang.Class<?> clazz)
Resolve a type using the specified class.
|
accept, areAllLintIgnored, areInfoMessagesEnabled, areSynchronizationPointcutsInUse, classWriteEvent, compareByPrecedence, compareByPrecedenceAndHierarchy, completeBinaryType, couldIncrementalCompileFollow, createAdviceMunger, demote, ensureAdvancedConfigurationProcessed, flush, forgetTypeVariablesCurrentlyBeingProcessed, getAspectScope, getCoreType, getCrosscuttingMembersSet, getCrossReferenceHandler, getDeclareAnnotationOnFields, getDeclareAnnotationOnMethods, getDeclareAnnotationOnTypes, getDeclareParents, getDeclareSoft, getDeclareTypeEows, getExclusionMap, getExpendable, getExtraConfiguration, getFixed, getItdVersion, getLint, getMessageHandler, getModel, getPrecedenceIfAny, getRegisteredPointcutHandlers, getTargetAspectjRuntimeLevel, getTypeMap, getTypeVariableLookupScope, getTypeVariablesCurrentlyBeingProcessed, hasUnsatisfiedDependency, isAddSerialVerUID, isAspectIncluded, isDemotionActive, isExpendable, isHasMemberSupportEnabled, isIgnoringUnusedDeclaredThrownException, isInJava5Mode, isInPinpointMode, isJoinpointArrayConstructionEnabled, isJoinpointSynchronizationEnabled, isLocallyDefined, isMinimalModel, isOverWeaving, isRunMinimalMemory, isRunMinimalMemorySet, isTargettingAspectJRuntime12, isTargettingRuntime1_6_10, isTimingEnabled, isTransientTjpFields, isXlazyTjp, isXmlConfigured, isXnoInline, lookupBySignature, lookupOrCreateName, performExtraConfiguration, record, recordFastMatch, recordTypeVariablesCurrentlyBeingProcessed, registerPointcutHandler, reportCheckerMatch, reportMatch, 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, useFinal, validateType
public ReflectionWorld(WeakClassLoaderReference classloaderRef)
public ReflectionWorld(java.lang.ClassLoader aClassLoader)
public ReflectionWorld(boolean forceUseOf14Delegates, java.lang.ClassLoader aClassLoader)
public static ReflectionWorld getReflectionWorldFor(WeakClassLoaderReference classLoaderReference)
public static void cleanUpWorlds()
public static AnnotationFinder makeAnnotationFinderIfAny(java.lang.ClassLoader loader, World world)
public java.lang.ClassLoader getClassLoader()
public AnnotationFinder getAnnotationFinder()
getAnnotationFinder
in interface IReflectionWorld
public ResolvedType resolve(java.lang.Class aClass)
resolve
in interface IReflectionWorld
public static ResolvedType resolve(World world, java.lang.Class<?> aClass)
public ResolvedType resolveUsingClass(java.lang.Class<?> clazz)
clazz
- the class to use as the delegate for the resolved typeprotected ReferenceTypeDelegate resolveDelegate(ReferenceType ty)
World
resolveDelegate
in class World
public IWeavingSupport getWeavingSupport()
getWeavingSupport
in class World
public boolean isLoadtimeWeaving()
isLoadtimeWeaving
in class World