org.aspectj.weaver.reflect
Class ReflectionVar

java.lang.Object
  extended by org.aspectj.weaver.ast.ASTNode
      extended by org.aspectj.weaver.ast.Expr
          extended by org.aspectj.weaver.ast.Var
              extended by org.aspectj.weaver.reflect.ReflectionVar

public final class ReflectionVar
extends Var

A variable at a reflection shadow, used by the residual tests.


Field Summary
 
Fields inherited from class org.aspectj.weaver.ast.Var
NONE
 
Method Summary
static 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)
           
 java.lang.Object getBindingAtJoinPoint(java.lang.Object thisObject, java.lang.Object targetObject, java.lang.Object[] args)
           
 java.lang.Object getBindingAtJoinPoint(java.lang.Object thisObject, java.lang.Object targetObject, java.lang.Object[] args, java.lang.reflect.Member subject, java.lang.reflect.Member withinCode, java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createThisVar

public static ReflectionVar createThisVar(ResolvedType type,
                                          AnnotationFinder finder)

createTargetVar

public static ReflectionVar createTargetVar(ResolvedType type,
                                            AnnotationFinder finder)

createArgsVar

public static ReflectionVar createArgsVar(ResolvedType type,
                                          int index,
                                          AnnotationFinder finder)

createThisAnnotationVar

public static ReflectionVar createThisAnnotationVar(ResolvedType type,
                                                    AnnotationFinder finder)

createTargetAnnotationVar

public static ReflectionVar createTargetAnnotationVar(ResolvedType type,
                                                      AnnotationFinder finder)

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

public static ReflectionVar createAtAnnotationVar(ResolvedType annType,
                                                  AnnotationFinder finder)

getBindingAtJoinPoint

public java.lang.Object getBindingAtJoinPoint(java.lang.Object thisObject,
                                              java.lang.Object targetObject,
                                              java.lang.Object[] args)

getBindingAtJoinPoint

public java.lang.Object getBindingAtJoinPoint(java.lang.Object thisObject,
                                              java.lang.Object targetObject,
                                              java.lang.Object[] args,
                                              java.lang.reflect.Member subject,
                                              java.lang.reflect.Member withinCode,
                                              java.lang.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: