Package org.aspectj.weaver.bcel
Klasse AnnotationAccessVar
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.AnnotationAccessVar
Represents access to an annotation on an element, relating to some kinded pointcut. Depending on the kind of pointcut the element
might be a field or a method and the code generators in here can retrieve the annotation from the element.
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungAnnotationAccessVar
(BcelShadow shadow, Shadow.Kind kind, ResolvedType annotationType, UnresolvedType theTargetIsStoredHere, Member sig, boolean isWithin) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
appendLoad
(InstructionList il, InstructionFactory fact) void
appendLoadAndConvert
(InstructionList il, InstructionFactory fact, ResolvedType toType) createCopyFrom
(InstructionFactory fact, int oldSlot) createLoad
(InstructionFactory fact) getAccessorForValue
(ResolvedType valueType, String formalName) Return an object that can access a particular value of this annotation.getKind()
void
insertLoad
(InstructionList il, InstructionFactory fact) toString()
Von Klasse geerbte Methoden org.aspectj.weaver.bcel.BcelVar
appendStore, getPositionInAroundState, getSlot, setPositionInAroundState
Von Klasse geerbte Methoden org.aspectj.weaver.ast.Expr
makeCallExpr
-
Konstruktordetails
-
AnnotationAccessVar
public AnnotationAccessVar(BcelShadow shadow, Shadow.Kind kind, ResolvedType annotationType, UnresolvedType theTargetIsStoredHere, Member sig, boolean isWithin)
-
-
Methodendetails
-
getKind
-
toString
-
createLoad
- Setzt außer Kraft:
createLoad
in KlasseBcelVar
-
createStore
- Setzt außer Kraft:
createStore
in KlasseBcelVar
-
createCopyFrom
- Setzt außer Kraft:
createCopyFrom
in KlasseBcelVar
-
appendLoad
- Setzt außer Kraft:
appendLoad
in KlasseBcelVar
-
appendLoadAndConvert
- Setzt außer Kraft:
appendLoadAndConvert
in KlasseBcelVar
-
insertLoad
- Setzt außer Kraft:
insertLoad
in KlasseBcelVar
-
getMember
-
getAccessorForValue
Return an object that can access a particular value of this annotation.- Setzt außer Kraft:
getAccessorForValue
in KlasseVar
- Parameter:
valueType
- The type from the annotation that is of interestformalName
- the formal name expressed in the pointcut, can be used to disambiguate- Gibt zurück:
- a variable that represents access to that annotation value
-