js.tinyvm
Class InstanceFieldRecord

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

public class InstanceFieldRecord
extends java.lang.Object
implements WritableData


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

Constructor Detail

InstanceFieldRecord

public InstanceFieldRecord(org.apache.bcel.classfile.Field aEntry)
                    throws TinyVMException
Throws:
TinyVMException
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

getFieldSize

public int getFieldSize()
                 throws TinyVMException
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