public static class StackMap.Writer
extends java.lang.Object
Constructor and Description |
---|
Writer()
Constructs a writer.
|
Modifier and Type | Method and 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)
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.