org.aspectj.weaver.bcel
Class TypeAnnotationAccessVar
java.lang.Object
org.aspectj.weaver.ast.ASTNode
org.aspectj.weaver.ast.Expr
org.aspectj.weaver.ast.Var
org.aspectj.weaver.bcel.BcelVar
org.aspectj.weaver.bcel.TypeAnnotationAccessVar
public class TypeAnnotationAccessVar
- extends BcelVar
Used for @this() @target() @args() - represents accessing an annotated 'thing'. Main use is to create the instructions that
retrieve the annotation from the 'thing' - see createLoadInstructions()
Fields inherited from class org.aspectj.weaver.bcel.BcelVar |
NONE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeAnnotationAccessVar
public TypeAnnotationAccessVar(ResolvedType type,
BcelVar theAnnotatedTargetIsStoredHere)
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
appendLoad
public void appendLoad(InstructionList il,
InstructionFactory fact)
- Overrides:
appendLoad
in class BcelVar
createLoadInstructions
public InstructionList createLoadInstructions(ResolvedType toType,
InstructionFactory fact)
appendLoadAndConvert
public void appendLoadAndConvert(InstructionList il,
InstructionFactory fact,
ResolvedType toType)
- Overrides:
appendLoadAndConvert
in class BcelVar
insertLoad
public void insertLoad(InstructionList il,
InstructionFactory fact)
- Overrides:
insertLoad
in class BcelVar