Package org.aspectj.weaver.reflect
Class ReflectionVar
java.lang.Object
org.aspectj.weaver.ast.ASTNode
org.aspectj.weaver.ast.Expr
org.aspectj.weaver.ast.Var
org.aspectj.weaver.reflect.ReflectionVar
A variable at a reflection shadow, used by the residual tests.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReflectionVarcreateArgsAnnotationVar(ResolvedType type, int index, AnnotationFinder finder)static ReflectionVarcreateArgsVar(ResolvedType type, int index, AnnotationFinder finder)static ReflectionVarcreateAtAnnotationVar(ResolvedType annType, AnnotationFinder finder)static ReflectionVarcreateTargetAnnotationVar(ResolvedType type, AnnotationFinder finder)static ReflectionVarcreateTargetVar(ResolvedType type, AnnotationFinder finder)static ReflectionVarcreateThisAnnotationVar(ResolvedType type, AnnotationFinder finder)static ReflectionVarcreateThisVar(ResolvedType type, AnnotationFinder finder)static ReflectionVarcreateWithinAnnotationVar(ResolvedType annType, AnnotationFinder finder)static ReflectionVarcreateWithinCodeAnnotationVar(ResolvedType annType, AnnotationFinder finder)getBindingAtJoinPoint(Object thisObject, Object targetObject, Object[] args)getBindingAtJoinPoint(Object thisObject, Object targetObject, Object[] args, Member subject, Member withinCode, Class withinType)At a join point with the given this, target, and args, return the object to which this var is bound.Methods inherited from class org.aspectj.weaver.ast.Var
accept, getAccessorForValue, getType, toStringMethods inherited from class org.aspectj.weaver.ast.Expr
makeCallExpr
-
Method Details
-
createThisVar
-
createTargetVar
-
createArgsVar
-
createThisAnnotationVar
-
createTargetAnnotationVar
-
createArgsAnnotationVar
public static ReflectionVar createArgsAnnotationVar(ResolvedType type, int index, AnnotationFinder finder) -
createWithinAnnotationVar
public static ReflectionVar createWithinAnnotationVar(ResolvedType annType, AnnotationFinder finder) -
createWithinCodeAnnotationVar
public static ReflectionVar createWithinCodeAnnotationVar(ResolvedType annType, AnnotationFinder finder) -
createAtAnnotationVar
-
getBindingAtJoinPoint
-
getBindingAtJoinPoint
public Object getBindingAtJoinPoint(Object thisObject, Object targetObject, Object[] args, Member subject, Member withinCode, Class withinType)At a join point with the given this, target, and args, return the object to which this var is bound.- Parameters:
thisObject-targetObject-args-- Returns:
-