Class BcelCflowAccessVar
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.BcelCflowAccessVar
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
-
Constructor Summary
Constructors -
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 BcelVar
appendStore, getPositionInAroundState, getSlot, setPositionInAroundStateModifier and TypeMethodDescriptionvoidappendStore(InstructionList il, InstructionFactory fact) intintgetSlot()voidsetPositionInAroundState(int positionInAroundState) Methods inherited from class Var
accept, getAccessorForValue, getTypeModifier and TypeMethodDescriptionvoidgetAccessorForValue(ResolvedType formalType, String formalName) For an annotation this will return a variable that can access a specific field of the annotation (of the specified type) TODO what kind of behaviour happens for two annotation fields of the same type?getType()Methods inherited from class Expr
makeCallExprModifier and TypeMethodDescriptionstatic CallExprmakeCallExpr(Member member, Expr[] exprs, ResolvedType returnType)
-
Constructor Details
-
BcelCflowAccessVar
- Parameters:
type- The type to convert to from ObjectstackField- the member containing the CFLOW_STACK_TYPEindex- yeah yeah
-
-
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
-