Package 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
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()
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTypeAnnotationAccessVar(ResolvedType type, BcelVar theAnnotatedTargetIsStoredHere) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendLoad(InstructionList il, InstructionFactory fact) voidappendLoadAndConvert(InstructionList il, InstructionFactory fact, ResolvedType toType) createCopyFrom(InstructionFactory fact, int oldSlot) createLoad(InstructionFactory fact) createLoadInstructions(ResolvedType toType, InstructionFactory fact) voidinsertLoad(InstructionList il, InstructionFactory fact) toString()Methods inherited from class org.aspectj.weaver.bcel.BcelVar
appendStore, getPositionInAroundState, getSlot, setPositionInAroundStateMethods inherited from class org.aspectj.weaver.ast.Var
accept, getAccessorForValue, getTypeMethods inherited from class org.aspectj.weaver.ast.Expr
makeCallExpr
-
Constructor Details
-
TypeAnnotationAccessVar
-
-
Method Details
-
toString
-
createLoad
- Overrides:
createLoadin classBcelVar
-
createStore
- Overrides:
createStorein classBcelVar
-
createCopyFrom
- Overrides:
createCopyFromin classBcelVar
-
appendLoad
- Overrides:
appendLoadin classBcelVar
-
createLoadInstructions
-
appendLoadAndConvert
- Overrides:
appendLoadAndConvertin classBcelVar
-
insertLoad
- Overrides:
insertLoadin classBcelVar
-