public static class StackMap.Writer
extends java.lang.Object
Constructor | Description |
---|---|
Writer() |
Constructs a writer.
|
Modifier and Type | Method | Description |
---|---|---|
byte[] |
toByteArray() |
Converts the written data into a byte array.
|
StackMap |
toStackMap(ConstPool cp) |
Converts to a
StackMap attribute. |
void |
write16bit(int value) |
Writes a 16bit value.
|
void |
writeVerifyTypeInfo(int tag,
int data) |
Writes a
union verification_type_info value. |
public byte[] toByteArray()
public void writeVerifyTypeInfo(int tag, int data)
union verification_type_info
value.data
- cpool_index
or offset
.public void write16bit(int value)
Copyright © 2018 Shigeru Chiba, www.javassist.org. All Rights Reserved.