Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.bytecode
Class Field  view Field download Field.java

java.lang.Object
  extended bygnu.bytecode.Location
      extended bygnu.bytecode.Field
All Implemented Interfaces:
AttrContainer

public class Field
extends Location
implements AttrContainer


Field Summary
(package private)  Attribute attributes
           
(package private)  int constant_value_index
           
(package private)  int flags
           
(package private)  Field next
           
(package private)  ClassType owner
          The class that contains this field.
 
Fields inherited from class gnu.bytecode.Location
name, name_index, signature_index, type
 
Constructor Summary
Field(ClassType ctype)
          Add a new Field to a ClassType.
 
Method Summary
(package private)  void assign_constants(ClassType classfile)
           
 Attribute getAttributes()
          Get the (first) Attribute of this container.
 void setAttributes(Attribute attributes)
          Set the (list of) Attributes of this container.
(package private)  void write(java.io.DataOutputStream dstr, ClassType classfile)
           
 
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
 

Field Detail

constant_value_index

int constant_value_index

flags

int flags

next

Field next

attributes

Attribute attributes

owner

ClassType owner
The class that contains this field.

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

write

void write(java.io.DataOutputStream dstr,
           ClassType classfile)
     throws java.io.IOException

assign_constants

void assign_constants(ClassType classfile)