org.aspectj.weaver.reflect
Class ReflectionWorld

java.lang.Object
  extended by org.aspectj.weaver.World
      extended by org.aspectj.weaver.reflect.ReflectionWorld
All Implemented Interfaces:
Dump.INode, IReflectionWorld

public class ReflectionWorld
extends World
implements IReflectionWorld

A ReflectionWorld is used solely for purposes of type resolution based on the runtime classpath (java.lang.reflect). It does not support weaving operations (creation of mungers etc..).


Nested Class Summary
static class ReflectionWorld.ReflectionWorldException
           
 
Nested classes/interfaces inherited from class org.aspectj.weaver.World
World.TypeMap
 
Field Summary
 
Fields inherited from class org.aspectj.weaver.World
bcelRepositoryCaching, BOOLEAN, BYTE, CHAR, createInjarHierarchy, DOUBLE, FLOAT, forDEBUG_bridgingCode, forDEBUG_structuralChangesCode, 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_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 Summary
ReflectionWorld(boolean forceUseOf14Delegates, java.lang.ClassLoader aClassLoader)
           
ReflectionWorld(java.lang.ClassLoader aClassLoader)
           
 
Method Summary
 AnnotationFinder getAnnotationFinder()
           
 java.lang.ClassLoader getClassLoader()
           
 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.
 
Methods inherited from class org.aspectj.weaver.World
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionWorld

public ReflectionWorld(java.lang.ClassLoader aClassLoader)

ReflectionWorld

public ReflectionWorld(boolean forceUseOf14Delegates,
                       java.lang.ClassLoader aClassLoader)
Method Detail

makeAnnotationFinderIfAny

public static AnnotationFinder makeAnnotationFinderIfAny(java.lang.ClassLoader loader,
                                                         World world)

getClassLoader

public java.lang.ClassLoader getClassLoader()

getAnnotationFinder

public AnnotationFinder getAnnotationFinder()
Specified by:
getAnnotationFinder in interface IReflectionWorld

resolve

public ResolvedType resolve(java.lang.Class aClass)
Specified by:
resolve in interface IReflectionWorld

resolve

public static ResolvedType resolve(World world,
                                   java.lang.Class aClass)

resolveDelegate

protected ReferenceTypeDelegate resolveDelegate(ReferenceType ty)
Description copied from class: World
Find the ReferenceTypeDelegate behind this reference type so that it can fulfill its contract.

Specified by:
resolveDelegate in class World

getWeavingSupport

public IWeavingSupport getWeavingSupport()
Specified by:
getWeavingSupport in class World

isLoadtimeWeaving

public boolean isLoadtimeWeaving()
Specified by:
isLoadtimeWeaving in class World