|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjs.tinyvm.ConstantRecord
public class ConstantRecord
| Constructor Summary | |
|---|---|
ConstantRecord(ClassRecord crec,
Binary aBinary)
|
|
ConstantRecord(org.apache.bcel.classfile.ConstantPool pool,
org.apache.bcel.classfile.Constant constant,
Binary aBinary)
Constructor. |
|
| Method Summary | |
|---|---|
ConstantValue |
constantValue()
Get dereferenced value. |
void |
dump(IByteWriter writer)
Dump. |
boolean |
equals(java.lang.Object object)
Equals based on equality of referenced value. |
int |
getLength()
Get length of this record. |
int |
hashCode()
hashCode based on referenced value. |
void |
markUsed()
|
boolean |
used()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantRecord(org.apache.bcel.classfile.ConstantPool pool,
org.apache.bcel.classfile.Constant constant,
Binary aBinary)
pool - constant poolconstant - constantaBinary -
public ConstantRecord(ClassRecord crec,
Binary aBinary)
| Method Detail |
|---|
public ConstantValue constantValue()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int getLength()
getLength in interface WritableData
public void dump(IByteWriter writer)
throws TinyVMException
dump in interface WritableDatawriter - byte writer
TinyVMExceptionpublic void markUsed()
public boolean used()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||