Class EclipseShadow
java.lang.Object
org.aspectj.weaver.Shadow
org.aspectj.ajdt.internal.compiler.lookup.EclipseShadow
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.
-
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
ConstructorDescriptionEclipseShadow
(EclipseFactory world, Shadow.Kind kind, Member signature, ASTNode astNode, ReferenceContext context) -
Method Summary
Modifier and TypeMethodDescriptiongetArgAnnotationVar
(int i, UnresolvedType annotationType) getArgVar
(int i) getKindedAnnotationVar
(UnresolvedType annotationType) getTargetAnnotationVar
(UnresolvedType annotationType) a var referencing the targetgetThisAnnotationVar
(UnresolvedType annotationType) getThisAspectInstanceVar
(ResolvedType aspectType) a var referencing thisgetWithinAnnotationVar
(UnresolvedType annotationType) getWithinCodeAnnotationVar
(UnresolvedType annotationType) static EclipseShadow
makeShadow
(EclipseFactory world, ASTNode astNode, ReferenceContext context) 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
-
EclipseShadow
public EclipseShadow(EclipseFactory world, Shadow.Kind kind, Member signature, ASTNode astNode, ReferenceContext context)
-
-
Method Details
-
getIWorld
-
getEnclosingType
- Specified by:
getEnclosingType
in classShadow
-
getSourceLocation
- Specified by:
getSourceLocation
in classShadow
-
getEnclosingCodeSignature
- Specified by:
getEnclosingCodeSignature
in classShadow
-
getThisVar
Description copied from class:Shadow
a var referencing this- Specified by:
getThisVar
in classShadow
-
getTargetVar
Description copied from class:Shadow
a var referencing the target- Specified by:
getTargetVar
in classShadow
-
getArgVar
-
getThisJoinPointVar
- Specified by:
getThisJoinPointVar
in classShadow
-
getThisJoinPointStaticPartVar
- Specified by:
getThisJoinPointStaticPartVar
in classShadow
-
getThisEnclosingJoinPointStaticPartVar
- Specified by:
getThisEnclosingJoinPointStaticPartVar
in classShadow
-
getArgAnnotationVar
- Specified by:
getArgAnnotationVar
in classShadow
-
getKindedAnnotationVar
- Specified by:
getKindedAnnotationVar
in classShadow
-
getTargetAnnotationVar
- Specified by:
getTargetAnnotationVar
in classShadow
-
getThisAnnotationVar
- Specified by:
getThisAnnotationVar
in classShadow
-
getThisAspectInstanceVar
- Specified by:
getThisAspectInstanceVar
in classShadow
-
getWithinAnnotationVar
- Specified by:
getWithinAnnotationVar
in classShadow
-
getWithinCodeAnnotationVar
- Specified by:
getWithinCodeAnnotationVar
in classShadow
-
makeShadow
public static EclipseShadow makeShadow(EclipseFactory world, ASTNode astNode, ReferenceContext context)
-