|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.MethodRttiImpl
Implementation for the method signature.
Constructor Summary | |
MethodRttiImpl(MethodSignatureImpl signature,
Object thisInstance,
Object targetInstance)
Creates a new method RTTI. |
Method Summary | |
Rtti |
cloneFor(Object thisInstance,
Object targetInstance)
Clones the RTTI instance. |
Class |
getDeclaringType()
Returns the declaring class. |
Class[] |
getExceptionTypes()
Returns the exception types declared by the code block. |
Method |
getMethod()
Returns the method. |
MethodTuple |
getMethodTuple()
Returns the method tuple. |
int |
getModifiers()
Returns the modifiers for the signature. |
String |
getName()
Returns the name (f.e. name of method of field). |
Class[] |
getParameterTypes()
Returns the parameter types. |
Object[] |
getParameterValues()
Returns the values of the parameters. |
Class |
getReturnType()
Returns the return type. |
Object |
getReturnValue()
Returns the value of the return type. |
Object |
getTarget()
Returns the target instance. |
Object |
getThis()
Returns the instance currently executing. |
void |
setParameterValues(Object[] parameterValues)
Sets the values of the parameters. |
void |
setReturnValue(Object returnValue)
Sets the return value. |
String |
toString()
Returns a string representation of the signature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MethodRttiImpl(MethodSignatureImpl signature, Object thisInstance, Object targetInstance)
signature
- thisInstance
- targetInstance
- Method Detail |
public Rtti cloneFor(Object thisInstance, Object targetInstance)
cloneFor
in interface Rtti
thisInstance
- targetInstance
-
public Object getTarget()
getTarget
in interface Rtti
public Object getThis()
getThis
in interface Rtti
public MethodTuple getMethodTuple()
public Method getMethod()
getMethod
in interface MethodRtti
public Class getDeclaringType()
getDeclaringType
in interface Rtti
public int getModifiers()
boolean isPublic = java.lang.reflect.Modifier.isPublic(signature.getModifiers());
getModifiers
in interface Rtti
public String getName()
getName
in interface Rtti
public Class[] getExceptionTypes()
getExceptionTypes
in interface CodeRtti
public Class[] getParameterTypes()
getParameterTypes
in interface CodeRtti
public void setParameterValues(Object[] parameterValues)
setParameterValues
in interface CodeRtti
parameterValues
- public Object[] getParameterValues()
getParameterValues
in interface CodeRtti
public Class getReturnType()
getReturnType
in interface MethodRtti
public void setReturnValue(Object returnValue)
returnValue
- the return valuepublic Object getReturnValue()
getReturnValue
in interface MethodRtti
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |