org.aspectj.weaver.bcel
Class BcelFieldRef

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.bcel.BcelVar
                  extended by org.aspectj.weaver.bcel.BcelFieldRef

public class BcelFieldRef
extends BcelVar

XXX Erik and I need to discuss this hierarchy. Having FieldRef extend Var is convenient, but hopefully there's a better design. This is always a static reference.


Field Summary
 
Fields inherited from class org.aspectj.weaver.bcel.BcelVar
NONE
 
Constructor Summary
BcelFieldRef(ResolvedType type, java.lang.String className, java.lang.String fieldName)
           
 
Method Summary
 InstructionList createCopyFrom(InstructionFactory fact, int oldSlot)
           
 Instruction createLoad(InstructionFactory fact)
           
 Instruction createStore(InstructionFactory fact)
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.weaver.bcel.BcelVar
appendLoad, appendLoadAndConvert, appendStore, getPositionInAroundState, getSlot, insertLoad, setPositionInAroundState
 
Methods inherited from class org.aspectj.weaver.ast.Var
accept, getAccessorForValue, getType
 
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
 

Constructor Detail

BcelFieldRef

public BcelFieldRef(ResolvedType type,
                    java.lang.String className,
                    java.lang.String fieldName)
Method Detail

toString

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

createLoad

public Instruction createLoad(InstructionFactory fact)
Overrides:
createLoad in class BcelVar

createStore

public Instruction createStore(InstructionFactory fact)
Overrides:
createStore in class BcelVar

createCopyFrom

public InstructionList createCopyFrom(InstructionFactory fact,
                                      int oldSlot)
Overrides:
createCopyFrom in class BcelVar