|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.ConstructorRttiImpl
Implementation for the constructor RTTI.
| Constructor Summary | |
ConstructorRttiImpl(ConstructorSignatureImpl signature,
Object thisInstance,
Object targetInstance)
Creates a new constructor RTTI. |
|
| Method Summary | |
Rtti |
cloneFor(Object thisInstance,
Object targetInstance)
Clones the RTTI instance. |
Constructor |
getConstructor()
Returns the constructor. |
ConstructorTuple |
getConstructorTuple()
Returns the constructor tuple. |
Class |
getDeclaringType()
Returns the declaring class. |
Class[] |
getExceptionTypes()
Returns the exception types declared by the code block. |
int |
getModifiers()
Returns the modifiers for the signature. |
String |
getName()
Returns the name (f.e. name of method of field). |
Object |
getNewInstance()
Returns the new instance created by the constructor. |
Class[] |
getParameterTypes()
Returns the parameter types. |
Object[] |
getParameterValues()
Returns the values of the parameters. |
Object |
getTarget()
Returns the target instance. |
Object |
getThis()
Returns the instance currently executing. |
void |
setNewInstance(Object newInstance)
Sets the new instance created by the constructor. |
void |
setParameterValues(Object[] parameterValues)
Sets the values of the parameters. |
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 ConstructorRttiImpl(ConstructorSignatureImpl 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 ConstructorTuple getConstructorTuple()
public Constructor getConstructor()
getConstructor in interface ConstructorRttipublic Class getDeclaringType()
getDeclaringType in interface Rttipublic Object getNewInstance()
getNewInstance in interface ConstructorRttipublic void setNewInstance(Object newInstance)
newInstance - public 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 String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||