gnu.bytecode
Class Field
java.lang.Object
|
+--gnu.bytecode.Location
|
+--gnu.bytecode.Field
- public class Field
- extends Location
- implements AttrContainer
|
Constructor Summary |
Field(ClassType ctype)
Add a new Field to a ClassType. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field
public Field(ClassType ctype)
- Add a new Field to a ClassType.
getAttributes
public final Attribute getAttributes()
- Description copied from interface: AttrContainer
- Get the (first) Attribute of this container.
- Specified by:
- getAttributes in interface AttrContainer
setAttributes
public final void setAttributes(Attribute attributes)
- Description copied from interface: AttrContainer
- Set the (list of) Attributes of this container.
- Specified by:
- setAttributes in interface AttrContainer
getDeclaringClass
public final ClassType getDeclaringClass()
setStaticFlag
public final void setStaticFlag(boolean is_static)
getStaticFlag
public final boolean getStaticFlag()
getFlags
public final int getFlags()
getNext
public final Field getNext()