| java.lang.Object ch.ethz.inf.iks.jvmai.jvmdi.HotSwapJoinPointImpl ch.ethz.inf.iks.jvmai.jvmdi.HotSwapFieldJoinPointImpl ch.ethz.inf.iks.jvmai.jvmdi.HotSwapFieldModificationJoinPointImpl
HotSwapFieldModificationJoinPointImpl | public class HotSwapFieldModificationJoinPointImpl extends HotSwapFieldJoinPointImpl implements FieldModificationJoinPoint(Code) | | Concrete implementation of a FieldModificationJoinPoint for the hotswap advice weaving.
author: Angela Nicoara author: Gerald Linhofer version: $Revision$ |
Method Summary | |
public String | getKind() | public int | getMask() | public Object | getNewValue() Returns the value that will be assigned to the target field. | public void | init(Object tag, int slot, int fieldId, Object owner) Initializes this instance.
Parameters: tag - AOP tag associated with this join point. Parameters: slot - variable table index of target fields new value. Parameters: fieldId - unique numerical identifier for the target field. | public void | setNewValue(Object newValue) Changes the value that will be assigned to the target field. |
newValueSlot | int newValueSlot(Code) | | |
HotSwapFieldModificationJoinPointImpl | HotSwapFieldModificationJoinPointImpl(Object tag, int slot, int fieldId, Object Owner)(Code) | | Constructs an initialized instance.
Parameters: tag - AOP tag associated with this join point. Parameters: slot - variable table index of target fields new value. Parameters: fieldId - unique numerical identifier for the target field. Parameters: owner - Object owning the field. |
getMask | public int getMask()(Code) | | |
getNewValue | public Object getNewValue()(Code) | | Returns the value that will be assigned to the target field. Primitive
types will be wrapped in a java object.
Object the new value for the field throws: ch.ethz.jvmai.IlligalIdException - can not find methods stack frame |
init | public void init(Object tag, int slot, int fieldId, Object owner)(Code) | | Initializes this instance.
Parameters: tag - AOP tag associated with this join point. Parameters: slot - variable table index of target fields new value. Parameters: fieldId - unique numerical identifier for the target field. Parameters: owner - Object owning the field. |
setNewValue | public void setNewValue(Object newValue)(Code) | | Changes the value that will be assigned to the target field.
Parameters: newValue - the new value for the field. throws: ch.ethz.jvmai.IlligalIdException - can not find methods stack frame |
Methods inherited from ch.ethz.inf.iks.jvmai.jvmdi.HotSwapJoinPointImpl | native protected Object doGetLocalVar(int slot, int type, Thread current, int height)(Code)(Java Doc) native protected String[] doGetLocalVariableNames(int slot, int count, Thread current, int height)(Code)(Java Doc) native protected void doGetLocalVars(int slot, int[] types, Object[] vars, Thread current, int height)(Code)(Java Doc) native protected void doSetLocalVar(int slot, int type, Object var, Thread current, int height)(Code)(Java Doc) protected int encodeArgType(Class argType)(Code)(Java Doc) public Object getAopTag()(Code)(Java Doc) public Object[] getArgs()(Code)(Java Doc) public int getByteCodeIndex()(Code)(Java Doc) public CodeJoinPoint getEnclosingJoinPoint()(Code)(Java Doc) public String getKind()(Code)(Java Doc) public int getMask()(Code)(Java Doc) public Method getMethod()(Code)(Java Doc) public Signature getSignature()(Code)(Java Doc) public JoinPointStaticPart getStaticPart()(Code)(Java Doc) public Object getTarget()(Code)(Java Doc) public Class getTargetClass()(Code)(Java Doc) public Object getThis()(Code)(Java Doc) public void init(Object tag)(Code)(Java Doc) protected void initArgTypes()(Code)(Java Doc) public String toLongString()(Code)(Java Doc) public String toShortString()(Code)(Java Doc)
|
|
|