js.tinyvm
Class StaticFieldRecord

java.lang.Object
  extended by js.tinyvm.StaticFieldRecord
All Implemented Interfaces:
WritableData

public class StaticFieldRecord
extends java.lang.Object
implements WritableData


Constructor Summary
StaticFieldRecord(org.apache.bcel.classfile.Field aEntry, ClassRecord aRec)
           
 
Method Summary
 void dump(IByteWriter aOut)
          Dump.
 boolean equals(java.lang.Object aOther)
           
 ClassRecord getClassRecord()
           
 int getLength()
          Returns the length of the record, in bytes.
 java.lang.String getName()
           
 int hashCode()
           
 void markUsed()
           
 boolean used()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticFieldRecord

public StaticFieldRecord(org.apache.bcel.classfile.Field aEntry,
                         ClassRecord aRec)
Method Detail

getName

public java.lang.String getName()

getLength

public int getLength()
Description copied from interface: WritableData
Returns the length of the record, in bytes.

Specified by:
getLength in interface WritableData

dump

public void dump(IByteWriter aOut)
          throws TinyVMException
Description copied from interface: WritableData
Dump.

Specified by:
dump in interface WritableData
Parameters:
aOut - writer to write binary to
Throws:
TinyVMException

equals

public boolean equals(java.lang.Object aOther)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

markUsed

public void markUsed()

used

public boolean used()

getClassRecord

public ClassRecord getClassRecord()