|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.CatchClauseRttiImpl
Implementation for the catch clause RTTI.
Constructor Summary | |
CatchClauseRttiImpl(CatchClauseSignatureImpl signature,
Object thisInstance,
Object targetInstance)
Creates a new catch clause RTTI. |
Method Summary | |
Rtti |
cloneFor(Object thisInstance,
Object targetInstance)
Clones the RTTI instance. |
Class |
getDeclaringType()
Returns the declaring class. |
int |
getModifiers()
Returns the modifiers for the signature. |
String |
getName()
Returns the name (f.e. name of method of field). |
Class |
getParameterType()
Returns the parameter type. |
Object |
getParameterValue()
Returns the value of the parameter. |
Object |
getTarget()
Returns the target instance. |
Object |
getThis()
Returns the instance currently executing. |
void |
setParameterValue(Object parameterValue)
Sets the value of the parameter. |
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 CatchClauseRttiImpl(CatchClauseSignatureImpl 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 getThis()
getThis
in interface Rtti
public Object getTarget()
getTarget
in interface Rtti
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 getParameterType()
getParameterType
in interface CatchClauseRtti
public Object getParameterValue()
getParameterValue
in interface CatchClauseRtti
public void setParameterValue(Object parameterValue)
setParameterValue
in interface CatchClauseRtti
parameterValue
- the value of the parameterpublic String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |