|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.MethodRttiImpl
public class 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. |
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 RttithisInstance - targetInstance -
public Object getTarget()
getTarget in interface Rttipublic Object getThis()
getThis in interface Rttipublic Method getMethod()
getMethod in interface MethodRttipublic Class getDeclaringType()
getDeclaringType in interface Rttipublic int getModifiers()
boolean isPublic = java.lang.reflect.Modifier.isPublic(signature.getModifiers());
getModifiers in interface Rttipublic String getName()
getName in interface Rttipublic Class[] getExceptionTypes()
getExceptionTypes in interface CodeRttipublic Class[] getParameterTypes()
getParameterTypes in interface CodeRttipublic void setParameterValues(Object[] parameterValues)
setParameterValues in interface CodeRttiparameterValues - public Object[] getParameterValues()
getParameterValues in interface CodeRttipublic Class getReturnType()
getReturnType in interface MethodRttipublic void setReturnValue(Object returnValue)
returnValue - the return valuepublic Object getReturnValue()
getReturnValue in interface MethodRttipublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||