|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectkoala.dynamicjava.classfile.BytecodeComponent
This class represents a component of the bytecode 'ClassFile' format
| Field Summary | |
protected ConstantPool |
constantPool
The constant pool |
protected short |
nameIndex
The index of the name of this component |
| Constructor Summary | |
protected |
BytecodeComponent(ConstantPool cp,
short ni)
Initializes a new bytecode component |
| Method Summary | |
ConstantPool |
getConstantPool()
Returns the constant pool |
abstract void |
write(java.io.DataOutputStream out)
Writes the class file to the given output stream |
void |
write(java.io.OutputStream out)
Writes the class file to the given output stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ConstantPool constantPool
protected short nameIndex
| Constructor Detail |
protected BytecodeComponent(ConstantPool cp,
short ni)
cp - the constant poolni - the name index in the constant pool| Method Detail |
public ConstantPool getConstantPool()
public void write(java.io.OutputStream out)
throws java.io.IOException
java.io.IOException
public abstract void write(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||