org.aspectj.weaver.reflect
Class ReflectionShadow
java.lang.Object
org.aspectj.weaver.Shadow
org.aspectj.weaver.reflect.ReflectionShadow
public class ReflectionShadow
- extends Shadow
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, NO_SHADOW_KINDS_BITS, PreInitialization, PREINITIALIZATION, PreInitializationBit, SHADOW_KINDS, shadowId, StaticInitialization, STATICINITIALIZATION, StaticInitializationBit, SYNCHRONIZATION_LOCK, SYNCHRONIZATION_UNLOCK, SynchronizationLock, SynchronizationLockBit, SynchronizationUnlock, SynchronizationUnlockBit |
Method Summary |
Var |
getArgAnnotationVar(int i,
UnresolvedType forAnnotationType)
|
Var |
getArgVar(int i)
|
Member |
getEnclosingCodeSignature()
|
UnresolvedType |
getEnclosingType()
|
World |
getIWorld()
|
Var |
getKindedAnnotationVar(UnresolvedType forAnnotationType)
|
MatchingContext |
getMatchingContext()
|
ISourceLocation |
getSourceLocation()
|
Var |
getTargetAnnotationVar(UnresolvedType forAnnotationType)
|
Var |
getTargetVar()
a var referencing the target |
Var |
getThisAnnotationVar(UnresolvedType forAnnotationType)
|
Var |
getThisAspectInstanceVar(ResolvedType aspectType)
|
Var |
getThisEnclosingJoinPointStaticPartVar()
|
Var |
getThisJoinPointStaticPartVar()
|
Var |
getThisJoinPointVar()
|
Var |
getThisVar()
a var referencing this |
Var |
getWithinAnnotationVar(UnresolvedType forAnnotationType)
|
Var |
getWithinCodeAnnotationVar(UnresolvedType forAnnotationType)
|
static Shadow |
makeAdviceExecutionShadow(World inWorld,
java.lang.reflect.Method forMethod,
MatchingContext withContext)
|
static Shadow |
makeCallShadow(World inWorld,
java.lang.reflect.Member aMember,
java.lang.Class thisClass,
MatchingContext withContext)
|
static Shadow |
makeCallShadow(World inWorld,
java.lang.reflect.Member aMember,
java.lang.reflect.Member withinCode,
MatchingContext withContext)
|
static Shadow |
makeExecutionShadow(World inWorld,
java.lang.reflect.Member forMethod,
MatchingContext withContext)
|
static Shadow |
makeFieldGetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.Class callerType,
MatchingContext withContext)
|
static Shadow |
makeFieldGetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.reflect.Member inMember,
MatchingContext withContext)
|
static Shadow |
makeFieldSetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.Class callerType,
MatchingContext withContext)
|
static Shadow |
makeFieldSetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.reflect.Member inMember,
MatchingContext withContext)
|
static Shadow |
makeHandlerShadow(World inWorld,
java.lang.Class exceptionType,
java.lang.Class withinType,
MatchingContext withContext)
|
static Shadow |
makeHandlerShadow(World inWorld,
java.lang.Class exceptionType,
java.lang.reflect.Member withinCode,
MatchingContext withContext)
|
static Shadow |
makeInitializationShadow(World inWorld,
java.lang.reflect.Constructor forConstructor,
MatchingContext withContext)
|
static Shadow |
makePreInitializationShadow(World inWorld,
java.lang.reflect.Constructor forConstructor,
MatchingContext withContext)
|
static Shadow |
makeStaticInitializationShadow(World inWorld,
java.lang.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReflectionShadow
public ReflectionShadow(World world,
Shadow.Kind kind,
Member signature,
Shadow enclosingShadow,
ResolvedType enclosingType,
ResolvedMember enclosingMember,
MatchingContext withContext)
makeExecutionShadow
public static Shadow makeExecutionShadow(World inWorld,
java.lang.reflect.Member forMethod,
MatchingContext withContext)
makeAdviceExecutionShadow
public static Shadow makeAdviceExecutionShadow(World inWorld,
java.lang.reflect.Method forMethod,
MatchingContext withContext)
makeCallShadow
public static Shadow makeCallShadow(World inWorld,
java.lang.reflect.Member aMember,
java.lang.reflect.Member withinCode,
MatchingContext withContext)
makeCallShadow
public static Shadow makeCallShadow(World inWorld,
java.lang.reflect.Member aMember,
java.lang.Class thisClass,
MatchingContext withContext)
makeStaticInitializationShadow
public static Shadow makeStaticInitializationShadow(World inWorld,
java.lang.Class forType,
MatchingContext withContext)
makePreInitializationShadow
public static Shadow makePreInitializationShadow(World inWorld,
java.lang.reflect.Constructor forConstructor,
MatchingContext withContext)
makeInitializationShadow
public static Shadow makeInitializationShadow(World inWorld,
java.lang.reflect.Constructor forConstructor,
MatchingContext withContext)
makeHandlerShadow
public static Shadow makeHandlerShadow(World inWorld,
java.lang.Class exceptionType,
java.lang.Class withinType,
MatchingContext withContext)
makeHandlerShadow
public static Shadow makeHandlerShadow(World inWorld,
java.lang.Class exceptionType,
java.lang.reflect.Member withinCode,
MatchingContext withContext)
makeFieldGetShadow
public static Shadow makeFieldGetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.Class callerType,
MatchingContext withContext)
makeFieldGetShadow
public static Shadow makeFieldGetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.reflect.Member inMember,
MatchingContext withContext)
makeFieldSetShadow
public static Shadow makeFieldSetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.Class callerType,
MatchingContext withContext)
makeFieldSetShadow
public static Shadow makeFieldSetShadow(World inWorld,
java.lang.reflect.Field forField,
java.lang.reflect.Member inMember,
MatchingContext withContext)
getIWorld
public World getIWorld()
- Specified by:
getIWorld
in class Shadow
getThisVar
public Var getThisVar()
- Description copied from class:
Shadow
- a var referencing this
- Specified by:
getThisVar
in class Shadow
getTargetVar
public Var getTargetVar()
- Description copied from class:
Shadow
- a var referencing the target
- Specified by:
getTargetVar
in class Shadow
getEnclosingType
public UnresolvedType getEnclosingType()
- Specified by:
getEnclosingType
in class Shadow
getArgVar
public Var getArgVar(int i)
- Specified by:
getArgVar
in class Shadow
getThisJoinPointVar
public Var getThisJoinPointVar()
- Specified by:
getThisJoinPointVar
in class Shadow
getThisJoinPointStaticPartVar
public Var getThisJoinPointStaticPartVar()
- Specified by:
getThisJoinPointStaticPartVar
in class Shadow
getThisEnclosingJoinPointStaticPartVar
public Var getThisEnclosingJoinPointStaticPartVar()
- Specified by:
getThisEnclosingJoinPointStaticPartVar
in class Shadow
getThisAspectInstanceVar
public Var getThisAspectInstanceVar(ResolvedType aspectType)
- Specified by:
getThisAspectInstanceVar
in class Shadow
getKindedAnnotationVar
public Var getKindedAnnotationVar(UnresolvedType forAnnotationType)
- Specified by:
getKindedAnnotationVar
in class Shadow
getWithinAnnotationVar
public Var getWithinAnnotationVar(UnresolvedType forAnnotationType)
- Specified by:
getWithinAnnotationVar
in class Shadow
getWithinCodeAnnotationVar
public Var getWithinCodeAnnotationVar(UnresolvedType forAnnotationType)
- Specified by:
getWithinCodeAnnotationVar
in class Shadow
getThisAnnotationVar
public Var getThisAnnotationVar(UnresolvedType forAnnotationType)
- Specified by:
getThisAnnotationVar
in class Shadow
getTargetAnnotationVar
public Var getTargetAnnotationVar(UnresolvedType forAnnotationType)
- Specified by:
getTargetAnnotationVar
in class Shadow
getArgAnnotationVar
public Var getArgAnnotationVar(int i,
UnresolvedType forAnnotationType)
- Specified by:
getArgAnnotationVar
in class Shadow
getEnclosingCodeSignature
public Member getEnclosingCodeSignature()
- Specified by:
getEnclosingCodeSignature
in class Shadow
getSourceLocation
public ISourceLocation getSourceLocation()
- Specified by:
getSourceLocation
in class Shadow
getMatchingContext
public MatchingContext getMatchingContext()