org.aspectj.weaver.ast
Class Var
java.lang.Object
org.aspectj.weaver.ast.ASTNode
org.aspectj.weaver.ast.Expr
org.aspectj.weaver.ast.Var
- Direct Known Subclasses:
- BcelVar, ReflectionVar
public class Var
- extends Expr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NONE
public static final Var[] NONE
Var
public Var(ResolvedType variableType)
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: