|
|||||||||||
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 Rtti
thisInstance
- targetInstance
-
public Object getTarget()
getTarget
in interface Rtti
public Object getThis()
getThis
in interface Rtti
public ConstructorTuple getConstructorTuple()
public Constructor getConstructor()
getConstructor
in interface ConstructorRtti
public Class getDeclaringType()
getDeclaringType
in interface Rtti
public Object getNewInstance()
getNewInstance
in interface ConstructorRtti
public void setNewInstance(Object newInstance)
newInstance
- 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 String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |