|
||||||||||
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 Rtti
thisInstance
- targetInstance
-
public Object getTarget()
getTarget
in interface Rtti
public Object getThis()
getThis
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 Field getField()
getField
in interface FieldRtti
public Class getFieldType()
getFieldType
in interface FieldRtti
public Object getFieldValue()
getFieldValue
in interface FieldRtti
public void setFieldValue(Object fieldValue)
fieldValue
- the value of the fieldpublic String toString()
toString
in class Object
public Object[] getParameterValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |