public class StandardShadow extends Shadow
Shadow.Kind
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
Constructor and Description |
---|
StandardShadow(World world,
Shadow.Kind kind,
Member signature,
Shadow enclosingShadow,
ResolvedType enclosingType,
ResolvedMember enclosingMember,
MatchingContext withContext) |
Modifier and Type | Method and Description |
---|---|
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,
ResolvedMember aMember,
ResolvedMember withinCode,
MatchingContext withContext) |
static Shadow |
makeExecutionShadow(World inWorld,
java.lang.reflect.Member forMethod,
MatchingContext withContext) |
static Shadow |
makeExecutionShadow(World inWorld,
ResolvedMember 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) |
static Shadow |
makeStaticInitializationShadow(World inWorld,
ResolvedType forType,
MatchingContext withContext) |
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
public StandardShadow(World world, Shadow.Kind kind, Member signature, Shadow enclosingShadow, ResolvedType enclosingType, ResolvedMember enclosingMember, MatchingContext withContext)
public static Shadow makeExecutionShadow(World inWorld, java.lang.reflect.Member forMethod, MatchingContext withContext)
public static Shadow makeExecutionShadow(World inWorld, ResolvedMember forMethod, MatchingContext withContext)
public static Shadow makeAdviceExecutionShadow(World inWorld, java.lang.reflect.Method forMethod, MatchingContext withContext)
public static Shadow makeCallShadow(World inWorld, ResolvedMember aMember, ResolvedMember withinCode, MatchingContext withContext)
public static Shadow makeCallShadow(World inWorld, java.lang.reflect.Member aMember, java.lang.Class thisClass, MatchingContext withContext)
public static Shadow makeStaticInitializationShadow(World inWorld, java.lang.Class forType, MatchingContext withContext)
public static Shadow makeStaticInitializationShadow(World inWorld, ResolvedType forType, MatchingContext withContext)
public static Shadow makePreInitializationShadow(World inWorld, java.lang.reflect.Constructor forConstructor, MatchingContext withContext)
public static Shadow makeInitializationShadow(World inWorld, java.lang.reflect.Constructor forConstructor, MatchingContext withContext)
public static Shadow makeHandlerShadow(World inWorld, java.lang.Class exceptionType, java.lang.Class withinType, MatchingContext withContext)
public static Shadow makeHandlerShadow(World inWorld, java.lang.Class exceptionType, java.lang.reflect.Member withinCode, MatchingContext withContext)
public static Shadow makeFieldGetShadow(World inWorld, java.lang.reflect.Field forField, java.lang.Class callerType, MatchingContext withContext)
public static Shadow makeFieldGetShadow(World inWorld, java.lang.reflect.Field forField, java.lang.reflect.Member inMember, MatchingContext withContext)
public static Shadow makeFieldSetShadow(World inWorld, java.lang.reflect.Field forField, java.lang.Class callerType, MatchingContext withContext)
public static Shadow makeFieldSetShadow(World inWorld, java.lang.reflect.Field forField, java.lang.reflect.Member inMember, MatchingContext withContext)
public Var getThisVar()
Shadow
getThisVar
in class Shadow
public Var getTargetVar()
Shadow
getTargetVar
in class Shadow
public UnresolvedType getEnclosingType()
getEnclosingType
in class Shadow
public Var getThisJoinPointVar()
getThisJoinPointVar
in class Shadow
public Var getThisJoinPointStaticPartVar()
getThisJoinPointStaticPartVar
in class Shadow
public Var getThisEnclosingJoinPointStaticPartVar()
getThisEnclosingJoinPointStaticPartVar
in class Shadow
public Var getThisAspectInstanceVar(ResolvedType aspectType)
getThisAspectInstanceVar
in class Shadow
public Var getKindedAnnotationVar(UnresolvedType forAnnotationType)
getKindedAnnotationVar
in class Shadow
public Var getWithinAnnotationVar(UnresolvedType forAnnotationType)
getWithinAnnotationVar
in class Shadow
public Var getWithinCodeAnnotationVar(UnresolvedType forAnnotationType)
getWithinCodeAnnotationVar
in class Shadow
public Var getThisAnnotationVar(UnresolvedType forAnnotationType)
getThisAnnotationVar
in class Shadow
public Var getTargetAnnotationVar(UnresolvedType forAnnotationType)
getTargetAnnotationVar
in class Shadow
public Var getArgAnnotationVar(int i, UnresolvedType forAnnotationType)
getArgAnnotationVar
in class Shadow
public Member getEnclosingCodeSignature()
getEnclosingCodeSignature
in class Shadow
public ISourceLocation getSourceLocation()
getSourceLocation
in class Shadow
public MatchingContext getMatchingContext()