|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BytecodeAttribute
| Nested Class Summary | |
|---|---|
static class |
BytecodeAttribute.Fn
|
static interface |
BytecodeAttribute.Reader
A BytecodeAttribute.Reader is an interface used for reading a given kind of BytecodeAttribute. |
static class |
BytecodeAttribute.Unknown
Class for representing unknown attributes. |
| Method Summary | |
|---|---|
void |
addPoolItems(java.util.Set<Constant.Info> constantPool)
When this method is called, the attribute must add all items that it needs to the constant pool. |
java.lang.String |
name()
|
void |
print(java.io.PrintWriter output,
java.util.Map<Constant.Info,java.lang.Integer> constantPool)
This method is used to print the contents of the attribute in human-readable form, similar to that produced by "javap". |
void |
write(BinaryOutputStream writer,
java.util.Map<Constant.Info,java.lang.Integer> constantPool)
This method requires the attribute to write itself to the binary stream. |
| Method Detail |
|---|
java.lang.String name()
void write(BinaryOutputStream writer,
java.util.Map<Constant.Info,java.lang.Integer> constantPool)
throws java.io.IOException
writer -
java.io.IOExceptionvoid addPoolItems(java.util.Set<Constant.Info> constantPool)
constantPool -
void print(java.io.PrintWriter output,
java.util.Map<Constant.Info,java.lang.Integer> constantPool)
throws java.io.IOException
output - constantPool -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||