org.objectweb.jac.core
Class Interaction
java.lang.Object
org.objectweb.jac.core.Interaction
- All Implemented Interfaces:
- ConstructorInvocation, Invocation, Joinpoint, MethodInvocation
- public class Interaction
- extends Object
- implements MethodInvocation, ConstructorInvocation
wrappee
public final Wrappee wrappee
method
public final AbstractMethodItem method
args
public final Object[] args
rank
public int rank
cur_AC
public String cur_AC
wrappingChain
public Interceptor[] wrappingChain
Interaction
public Interaction(WrappingChain wrappingChain,
Wrappee wrappee,
AbstractMethodItem method,
Object[] args)
proceed
public final Object proceed()
- Specified by:
proceed
in interface Joinpoint
invoke
public final Object invoke(Object substance)
getActualClass
public final Class getActualClass()
getClassItem
public final ClassItem getClassItem()
toString
public String toString()
getConstructor
public Constructor getConstructor()
- Specified by:
getConstructor
in interface ConstructorInvocation
getMethod
public Method getMethod()
- Specified by:
getMethod
in interface MethodInvocation
getArgument
public Object getArgument(int index)
setArgument
public void setArgument(int index,
Object argument)
getArgumentCount
public int getArgumentCount()
getArguments
public Object[] getArguments()
- Specified by:
getArguments
in interface Invocation
getThis
public Object getThis()
- Specified by:
getThis
in interface Joinpoint
getStaticPart
public AccessibleObject getStaticPart()
- Specified by:
getStaticPart
in interface Joinpoint