Package org.aspectj.weaver.reflect
Class ReflectionShadow
java.lang.Object
org.aspectj.weaver.Shadow
org.aspectj.weaver.reflect.ReflectionShadow
- Author:
- colyer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aspectj.weaver.Shadow
Shadow.Kind -
Field Summary
Fields inherited from class org.aspectj.weaver.Shadow
ADVICE_EXECUTION, AdviceExecution, AdviceExecutionBit, ALL_SHADOW_KINDS_BITS, CONSTRUCTOR_CALL, CONSTRUCTOR_EXECUTION, ConstructorCall, ConstructorCallBit, ConstructorExecution, ConstructorExecutionBit, enclosingShadow, EXCEPTION_HANDLER, ExceptionHandler, ExceptionHandlerBit, FIELD_GET, FIELD_SET, FieldGet, FieldGetBit, FieldSet, FieldSetBit, Initialization, INITIALIZATION, InitializationBit, MAX_SHADOW_KIND, METHOD_CALL, METHOD_EXECUTION, MethodCall, MethodCallBit, MethodExecution, MethodExecutionBit, mungers, needAroundClosureStacking, NO_SHADOW_KINDS_BITS, PreInitialization, PREINITIALIZATION, PreInitializationBit, SHADOW_KINDS, shadowId, StaticInitialization, STATICINITIALIZATION, StaticInitializationBit, SYNCHRONIZATION_LOCK, SYNCHRONIZATION_UNLOCK, SynchronizationLock, SynchronizationLockBit, SynchronizationUnlock, SynchronizationUnlockBit -
Constructor Summary
ConstructorsConstructorDescriptionReflectionShadow(World world, Shadow.Kind kind, Member signature, Shadow enclosingShadow, ResolvedType enclosingType, ResolvedMember enclosingMember, MatchingContext withContext) -
Method Summary
Modifier and TypeMethodDescriptiongetArgAnnotationVar(int i, UnresolvedType forAnnotationType)getArgVar(int i)getKindedAnnotationVar(UnresolvedType forAnnotationType)getTargetAnnotationVar(UnresolvedType forAnnotationType)a var referencing the targetgetThisAnnotationVar(UnresolvedType forAnnotationType)getThisAspectInstanceVar(ResolvedType aspectType)a var referencing thisgetWithinAnnotationVar(UnresolvedType forAnnotationType)getWithinCodeAnnotationVar(UnresolvedType forAnnotationType)static ShadowmakeAdviceExecutionShadow(World inWorld, Method forMethod, MatchingContext withContext)static ShadowmakeCallShadow(World inWorld, Member aMember, Class thisClass, MatchingContext withContext)static ShadowmakeCallShadow(World inWorld, Member aMember, Member withinCode, MatchingContext withContext)static ShadowmakeExecutionShadow(World inWorld, Member forMethod, MatchingContext withContext)static ShadowmakeFieldGetShadow(World inWorld, Field forField, Class callerType, MatchingContext withContext)static ShadowmakeFieldGetShadow(World inWorld, Field forField, Member inMember, MatchingContext withContext)static ShadowmakeFieldSetShadow(World inWorld, Field forField, Class callerType, MatchingContext withContext)static ShadowmakeFieldSetShadow(World inWorld, Field forField, Member inMember, MatchingContext withContext)static ShadowmakeHandlerShadow(World inWorld, Class exceptionType, Class withinType, MatchingContext withContext)static ShadowmakeHandlerShadow(World inWorld, Class exceptionType, Member withinCode, MatchingContext withContext)static ShadowmakeInitializationShadow(World inWorld, Constructor forConstructor, MatchingContext withContext)static ShadowmakePreInitializationShadow(World inWorld, Constructor forConstructor, MatchingContext withContext)static ShadowmakeStaticInitializationShadow(World inWorld, Class forType, MatchingContext withContext)Methods inherited from class org.aspectj.weaver.Shadow
addMunger, checkCanThrow, checkMunger, getArgCount, getArgType, getArgTypes, getArgumentTypesForArrayConstructionShadow, getGenericArgTypes, getKind, getMatchingSignature, getMungers, getResolvedSignature, getReturnType, getSignature, getTargetType, getThisType, hasTarget, hasThis, howMany, implement, isShadowForArrayConstructionJoinpoint, isShadowForMonitor, prepareForMungers, setMatchingSignature, toResolvedString, toSet, toString
-
Constructor Details
-
ReflectionShadow
public ReflectionShadow(World world, Shadow.Kind kind, Member signature, Shadow enclosingShadow, ResolvedType enclosingType, ResolvedMember enclosingMember, MatchingContext withContext)
-
-
Method Details
-
makeExecutionShadow
public static Shadow makeExecutionShadow(World inWorld, Member forMethod, MatchingContext withContext) -
makeAdviceExecutionShadow
public static Shadow makeAdviceExecutionShadow(World inWorld, Method forMethod, MatchingContext withContext) -
makeCallShadow
public static Shadow makeCallShadow(World inWorld, Member aMember, Member withinCode, MatchingContext withContext) -
makeCallShadow
public static Shadow makeCallShadow(World inWorld, Member aMember, Class thisClass, MatchingContext withContext) -
makeStaticInitializationShadow
public static Shadow makeStaticInitializationShadow(World inWorld, Class forType, MatchingContext withContext) -
makePreInitializationShadow
public static Shadow makePreInitializationShadow(World inWorld, Constructor forConstructor, MatchingContext withContext) -
makeInitializationShadow
public static Shadow makeInitializationShadow(World inWorld, Constructor forConstructor, MatchingContext withContext) -
makeHandlerShadow
public static Shadow makeHandlerShadow(World inWorld, Class exceptionType, Class withinType, MatchingContext withContext) -
makeHandlerShadow
public static Shadow makeHandlerShadow(World inWorld, Class exceptionType, Member withinCode, MatchingContext withContext) -
makeFieldGetShadow
public static Shadow makeFieldGetShadow(World inWorld, Field forField, Class callerType, MatchingContext withContext) -
makeFieldGetShadow
public static Shadow makeFieldGetShadow(World inWorld, Field forField, Member inMember, MatchingContext withContext) -
makeFieldSetShadow
public static Shadow makeFieldSetShadow(World inWorld, Field forField, Class callerType, MatchingContext withContext) -
makeFieldSetShadow
public static Shadow makeFieldSetShadow(World inWorld, Field forField, Member inMember, MatchingContext withContext) -
getIWorld
-
getThisVar
Description copied from class:Shadowa var referencing this- Specified by:
getThisVarin classShadow
-
getTargetVar
Description copied from class:Shadowa var referencing the target- Specified by:
getTargetVarin classShadow
-
getEnclosingType
- Specified by:
getEnclosingTypein classShadow
-
getArgVar
-
getThisJoinPointVar
- Specified by:
getThisJoinPointVarin classShadow
-
getThisJoinPointStaticPartVar
- Specified by:
getThisJoinPointStaticPartVarin classShadow
-
getThisEnclosingJoinPointStaticPartVar
- Specified by:
getThisEnclosingJoinPointStaticPartVarin classShadow
-
getThisAspectInstanceVar
- Specified by:
getThisAspectInstanceVarin classShadow
-
getKindedAnnotationVar
- Specified by:
getKindedAnnotationVarin classShadow
-
getWithinAnnotationVar
- Specified by:
getWithinAnnotationVarin classShadow
-
getWithinCodeAnnotationVar
- Specified by:
getWithinCodeAnnotationVarin classShadow
-
getThisAnnotationVar
- Specified by:
getThisAnnotationVarin classShadow
-
getTargetAnnotationVar
- Specified by:
getTargetAnnotationVarin classShadow
-
getArgAnnotationVar
- Specified by:
getArgAnnotationVarin classShadow
-
getEnclosingCodeSignature
- Specified by:
getEnclosingCodeSignaturein classShadow
-
getSourceLocation
- Specified by:
getSourceLocationin classShadow
-
getMatchingContext
-