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
ConstructorDescriptionTypeAnnotationAccessVar(ResolvedType type, BcelVar theAnnotatedTargetIsStoredHere)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendLoad(InstructionList il, InstructionFactory fact)
void
appendLoadAndConvert(InstructionList il, InstructionFactory fact, ResolvedType toType)
createCopyFrom(InstructionFactory fact, int oldSlot)
createLoad(InstructionFactory fact)
createLoadInstructions(ResolvedType toType, InstructionFactory fact)
createStore(InstructionFactory fact)
void
insertLoad(InstructionList il, InstructionFactory fact)
toString()
Methods inherited from class org.aspectj.weaver.bcel.BcelVar
appendStore, getPositionInAroundState, getSlot, setPositionInAroundState
Methods inherited from class org.aspectj.weaver.ast.Var
accept, getAccessorForValue, getType
Methods inherited from class org.aspectj.weaver.ast.Expr
makeCallExpr
-
Constructor Details
-
TypeAnnotationAccessVar
-
-
Method Details
-
toString
-
createLoad
- Overrides:
createLoad
in classBcelVar
-
createStore
- Overrides:
createStore
in classBcelVar
-
createCopyFrom
- Overrides:
createCopyFrom
in classBcelVar
-
appendLoad
- Overrides:
appendLoad
in classBcelVar
-
createLoadInstructions
-
appendLoadAndConvert
- Overrides:
appendLoadAndConvert
in classBcelVar
-
insertLoad
- Overrides:
insertLoad
in classBcelVar
-