| java.lang.Object ch.ethz.inf.iks.jvmai.jvmdi.HotSwapJoinPointImpl ch.ethz.inf.iks.jvmai.jvmdi.HotSwapMethodJoinPointImpl
All known Subclasses: ch.ethz.inf.iks.jvmai.jvmdi.HotSwapMethodEntryJoinPointImpl, ch.ethz.inf.iks.jvmai.jvmdi.HotSwapMethodExitJoinPointImpl,
HotSwapMethodJoinPointImpl | abstract public class HotSwapMethodJoinPointImpl extends HotSwapJoinPointImpl (Code) | | Super class for method entry/exit join points (method execution join points).
author: Angela Nicoara author: Gerald Linhofer version: $Revision$ |
Field Summary | |
protected int | methodId Method identifier to which this join point belongs. |
Method Summary | |
public Method | getMethod() Returns the method to that this join point belongs. | public Object | getTarget() Returns the object the join point target belongs to. | public void | init(int id, Object tag) (Re)Initialize this join point. |
methodId | protected int methodId(Code) | | Method identifier to which this join point belongs.
(this has nothing to do with JNI jmethodIDs)
|
HotSwapMethodJoinPointImpl | HotSwapMethodJoinPointImpl(int id, Object tag)(Code) | | Constructs an initialized instance.
Parameters: id - method identifier to which this join point belongs Parameters: tag - AOP tag associated with this join point |
getMethod | public Method getMethod()(Code) | | Returns the method to that this join point belongs.
Overwrites the method of the super class with a
faster implementation for method join points.
Method reflected method or null if themethod is a constructor. |
getTarget | public Object getTarget()(Code) | | Returns the object the join point target belongs to.
For method entry and exit join points this returns
the same like
HotSwapMethodJoinPointImpl.getThis getThis() .
Object throws: IlligalIdException - can not find the stack frame of the 'target'. |
init | public void init(int id, Object tag)(Code) | | (Re)Initialize this join point.
Parameters: id - method identifier to which this join point belongs Parameters: tag - AOP tag associated with this join point |
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)
|
|
|