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 ReflectionVar
createArgsAnnotationVar
(ResolvedType type, int index, AnnotationFinder finder) static ReflectionVar
createArgsVar
(ResolvedType type, int index, AnnotationFinder finder) static ReflectionVar
createAtAnnotationVar
(ResolvedType annType, AnnotationFinder finder) static ReflectionVar
createTargetAnnotationVar
(ResolvedType type, AnnotationFinder finder) static ReflectionVar
createTargetVar
(ResolvedType type, AnnotationFinder finder) static ReflectionVar
createThisAnnotationVar
(ResolvedType type, AnnotationFinder finder) static ReflectionVar
createThisVar
(ResolvedType type, AnnotationFinder finder) static ReflectionVar
createWithinAnnotationVar
(ResolvedType annType, AnnotationFinder finder) static ReflectionVar
createWithinCodeAnnotationVar
(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, toString
Methods 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:
-