openjava.mop
Class OJFieldByteCode
java.lang.Object
|
+--openjava.mop.OJFieldImp
|
+--openjava.mop.OJFieldByteCode
- class OJFieldByteCode
- extends OJFieldImp
javaField
private Field javaField
OJFieldByteCode
OJFieldByteCode(Field f)
toString
public String toString()
- Specified by:
toString
in class OJFieldImp
getDeclaringClass
OJClass getDeclaringClass()
- Specified by:
getDeclaringClass
in class OJFieldImp
getName
String getName()
- Specified by:
getName
in class OJFieldImp
getIdentifiableName
String getIdentifiableName()
- Specified by:
getIdentifiableName
in class OJFieldImp
getModifiers
OJModifier getModifiers()
- Specified by:
getModifiers
in class OJFieldImp
getType
OJClass getType()
- Specified by:
getType
in class OJFieldImp
get
Object get(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
get
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getBoolean
boolean getBoolean(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getBoolean
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getByte
byte getByte(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getByte
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getChar
char getChar(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getChar
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getShort
short getShort(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getShort
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getInt
int getInt(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getInt
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getLong
long getLong(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getLong
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getFloat
float getFloat(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getFloat
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
getDouble
double getDouble(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
getDouble
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
set
void set(Object obj,
Object value)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
set
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setBoolean
void setBoolean(Object obj,
boolean z)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setBoolean
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setByte
void setByte(Object obj,
byte b)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setByte
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setChar
void setChar(Object obj,
char c)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setChar
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setShort
void setShort(Object obj,
short s)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setShort
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setInt
void setInt(Object obj,
int i)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setInt
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setLong
void setLong(Object obj,
long l)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setLong
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setFloat
void setFloat(Object obj,
float f)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setFloat
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
setDouble
void setDouble(Object obj,
double d)
throws IllegalArgumentException,
IllegalAccessException
- Specified by:
setDouble
in class OJFieldImp
IllegalArgumentException
IllegalAccessException
isExecutable
final boolean isExecutable()
- Specified by:
isExecutable
in class OJFieldImp
isAlterable
final boolean isAlterable()
- Specified by:
isAlterable
in class OJFieldImp
getByteCode
final Field getByteCode()
throws CannotExecuteException
- Specified by:
getByteCode
in class OJFieldImp
CannotExecuteException
getSourceCode
final FieldDeclaration getSourceCode()
throws CannotAlterException
- Specified by:
getSourceCode
in class OJFieldImp
CannotAlterException
setDeclaringClass
void setDeclaringClass(OJClass parent)
throws CannotAlterException
- Specified by:
setDeclaringClass
in class OJFieldImp
CannotAlterException
setName
final void setName(String name)
throws CannotAlterException
- Specified by:
setName
in class OJFieldImp
CannotAlterException
setModifiers
final void setModifiers(int mods)
throws CannotAlterException
- Specified by:
setModifiers
in class OJFieldImp
CannotAlterException
setType
final void setType(OJClass type)
throws CannotAlterException
- Specified by:
setType
in class OJFieldImp
CannotAlterException