Class Var

Direct Known Subclasses:
BcelVar, ReflectionVar

public class Var extends Expr
  • Field Details

    • NONE

      public static final Var[] NONE
  • Constructor Details

  • Method Details

    • getType

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

      public String toString()
      Overrides:
      toString in class Object
    • accept

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

      public Var getAccessorForValue(ResolvedType formalType, 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: