org.aspectj.weaver.ast
Class Var

java.lang.Object
  extended by org.aspectj.weaver.ast.ASTNode
      extended by org.aspectj.weaver.ast.Expr
          extended by org.aspectj.weaver.ast.Var
Direct Known Subclasses:
BcelVar, ReflectionVar

public class Var
extends Expr


Field Summary
static Var[] NONE
           
 
Constructor Summary
Var(ResolvedType variableType)
           
 
Method Summary
 void accept(IExprVisitor v)
           
 Var getAccessorForValue(ResolvedType formalType, java.lang.String formalName)
          For an annotation this will return a variable that can access a specific field of the annotation (of the specified type) TODO what kind of behaviour happens for two annotation fields of the same type?
 ResolvedType getType()
           
 java.lang.String 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
 

Field Detail

NONE

public static final Var[] NONE
Constructor Detail

Var

public Var(ResolvedType variableType)
Method Detail

getType

public ResolvedType getType()
Specified by:
getType in class Expr

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

accept

public void accept(IExprVisitor v)
Specified by:
accept in class Expr

getAccessorForValue

public Var getAccessorForValue(ResolvedType formalType,
                               java.lang.String formalName)
For an annotation this will return a variable that can access a specific field of the annotation (of the specified type) TODO what kind of behaviour happens for two annotation fields of the same type?

Parameters:
formalType -
formalName -
Returns: