|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--joie.Member
|
+--joie.Field
Defines a Field of a class as it is represented in the classfile.
| Field Summary |
| Fields inherited from class joie.Member |
access_flags, acount, attr_count, attribs, cinfo, cpool, desc, desc_index, name, name_index |
| Fields inherited from interface joie.io.FilterObject |
APPENDED, CLEAN, DIRTY, DIRTY_IN_PLACE, DIRTY_SAME_SIZE |
| Constructor Summary | |
protected |
Field()
Protected to prevent from unwanted instantiation. |
|
Field(java.lang.String name,
Type type)
Creates a new Field with the given name and type. |
| Method Summary | |
Type |
getType()
Returns the type of the Field. |
protected static Field |
readField(ByteStream in)
Reads in a new Field from the ByteStream |
void |
resolveType()
|
void |
setClassInfo(ClassInfo cinfo)
Sets the new ClassInfo reference. |
| Methods inherited from class joie.Member |
addAttribute, assignClassInfo, getAttributes, getClassName, getDescIndex, getDescriptor, getModifiers, getName, getNameIndex, getStatus, init, readFromByteStream, rebind, resolve, serialize, serializeAppend, serializeInPlace, toString, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected Field()
public Field(java.lang.String name,
Type type)
name - the field nametype - the field type| Method Detail |
protected static Field readField(ByteStream in)
throws java.io.IOException
in - the input stream
java.io.IOExceptionpublic Type getType()
public void resolveType()
public void setClassInfo(ClassInfo cinfo)
Member
setClassInfo in class Membercinfo - the ClassInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||