js.tinyvm
Class StaticValue

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

public class StaticValue
extends WritableDataWithOffset


Constructor Summary
StaticValue(org.apache.bcel.classfile.Field aEntry)
           
 
Method Summary
 void dump(IByteWriter writer)
          Dump.
 boolean equals(java.lang.Object aOther)
           
 int getAlignment()
           
 int getLength()
          Returns the length of the record, in bytes.
 int hashCode()
           
 
Methods inherited from class js.tinyvm.WritableDataWithOffset
getOffset, initOffset
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticValue

public StaticValue(org.apache.bcel.classfile.Field aEntry)
            throws TinyVMException
Throws:
TinyVMException
Method Detail

getLength

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

Throws:
TinyVMException

getAlignment

public int getAlignment()

dump

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

Parameters:
writer - 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