Package javassist.bytecode
Class StackMap.Writer
java.lang.Object
javassist.bytecode.StackMap.Writer
- Enclosing class:
StackMap
Internal use only.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Converts the written data into a byte array.toStackMap
(ConstPool cp) Converts to aStackMap
attribute.void
write16bit
(int value) Writes a 16bit value.void
writeVerifyTypeInfo
(int tag, int data) Writes aunion verification_type_info
value.
-
Constructor Details
-
Writer
public Writer()Constructs a writer.
-
-
Method Details
-
toByteArray
public byte[] toByteArray()Converts the written data into a byte array. -
toStackMap
Converts to aStackMap
attribute. -
writeVerifyTypeInfo
public void writeVerifyTypeInfo(int tag, int data) Writes aunion verification_type_info
value.- Parameters:
data
-cpool_index
oroffset
.
-
write16bit
public void write16bit(int value) Writes a 16bit value.
-