org.aspectj.ajdt.internal.compiler.lookup
Class EclipseShadow
java.lang.Object
org.aspectj.weaver.Shadow
org.aspectj.ajdt.internal.compiler.lookup.EclipseShadow
public class EclipseShadow
- extends Shadow
This is only used for declare soft right now.
It might be used for other compile-time matching, but in all such cases this and target pcds can't be used. We might not behave
correctly in such cases.
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 |
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 |
EclipseShadow
public EclipseShadow(EclipseFactory world,
Shadow.Kind kind,
Member signature,
ASTNode astNode,
ReferenceContext context)
getIWorld
public World getIWorld()
- Specified by:
getIWorld
in class Shadow
getEnclosingType
public UnresolvedType getEnclosingType()
- Specified by:
getEnclosingType
in class Shadow
getSourceLocation
public ISourceLocation getSourceLocation()
- Specified by:
getSourceLocation
in class Shadow
getEnclosingCodeSignature
public Member getEnclosingCodeSignature()
- Specified by:
getEnclosingCodeSignature
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
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
getArgAnnotationVar
public Var getArgAnnotationVar(int i,
UnresolvedType annotationType)
- Specified by:
getArgAnnotationVar
in class Shadow
getKindedAnnotationVar
public Var getKindedAnnotationVar(UnresolvedType annotationType)
- Specified by:
getKindedAnnotationVar
in class Shadow
getTargetAnnotationVar
public Var getTargetAnnotationVar(UnresolvedType annotationType)
- Specified by:
getTargetAnnotationVar
in class Shadow
getThisAnnotationVar
public Var getThisAnnotationVar(UnresolvedType annotationType)
- Specified by:
getThisAnnotationVar
in class Shadow
getThisAspectInstanceVar
public Var getThisAspectInstanceVar(ResolvedType aspectType)
- Specified by:
getThisAspectInstanceVar
in class Shadow
getWithinAnnotationVar
public Var getWithinAnnotationVar(UnresolvedType annotationType)
- Specified by:
getWithinAnnotationVar
in class Shadow
getWithinCodeAnnotationVar
public Var getWithinCodeAnnotationVar(UnresolvedType annotationType)
- Specified by:
getWithinCodeAnnotationVar
in class Shadow
makeShadow
public static EclipseShadow makeShadow(EclipseFactory world,
ASTNode astNode,
ReferenceContext context)