|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.FieldRttiImpl
public class FieldRttiImpl
Implementation for the field signature.
| Constructor Summary | |
|---|---|
FieldRttiImpl(FieldSignatureImpl signature,
Object thisInstance,
Object targetInstance)
Creates a new field RTTI. |
|
| Method Summary | |
|---|---|
Rtti |
cloneFor(Object thisInstance,
Object targetInstance)
Clones the RTTI instance. |
Class |
getDeclaringType()
Returns the declaring class. |
Field |
getField()
Returns the field. |
Class |
getFieldType()
Returns the field type. |
Object |
getFieldValue()
Returns the value of the field. |
int |
getModifiers()
Returns the modifiers for the signature. |
String |
getName()
Returns the name (f.e. name of method of field). |
Object[] |
getParameterValues()
TODO: Needed for stupid JIT compiler. |
Object |
getTarget()
Returns the target instance. |
Object |
getThis()
Returns the instance currently executing. |
void |
setFieldValue(Object fieldValue)
Sets the value of the field. |
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 FieldRttiImpl(FieldSignatureImpl 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 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 Field getField()
getField in interface FieldRttipublic Class getFieldType()
getFieldType in interface FieldRttipublic Object getFieldValue()
getFieldValue in interface FieldRttipublic void setFieldValue(Object fieldValue)
fieldValue - the value of the fieldpublic String toString()
toString in class Objectpublic Object[] getParameterValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||