gnu.bytecode
Class Field

java.lang.Object
  |
  +--gnu.bytecode.Location
        |
        +--gnu.bytecode.Field

public class Field
extends Location
implements AttrContainer


Fields inherited from class gnu.bytecode.Location
name, type
 
Constructor Summary
Field(ClassType ctype)
          Add a new Field to a ClassType.
 
Method Summary
 Attribute getAttributes()
          Get the (first) Attribute of this container.
 ClassType getDeclaringClass()
           
 int getFlags()
           
 Field getNext()
           
 boolean getStaticFlag()
           
 void setAttributes(Attribute attributes)
          Set the (list of) Attributes of this container.
 void setStaticFlag(boolean is_static)
           
 
Methods inherited from class gnu.bytecode.Location
getName, getSignature, getType, setName, setName, setSignature, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field(ClassType ctype)
Add a new Field to a ClassType.
Method Detail

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()