Javassist 3.15.0-GA-redhat-2

javassist.bytecode
Class StackMap.Writer

java.lang.Object
  extended by javassist.bytecode.StackMap.Writer
Enclosing class:
StackMap

public static class StackMap.Writer
extends Object

Internal use only.


Constructor Summary
StackMap.Writer()
          Constructs a writer.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackMap.Writer

public StackMap.Writer()
Constructs a writer.

Method Detail

toByteArray

public byte[] toByteArray()
Converts the written data into a byte array.


toStackMap

public StackMap toStackMap(ConstPool cp)
Converts to a StackMap attribute.


writeVerifyTypeInfo

public void writeVerifyTypeInfo(int tag,
                                int data)
Writes a union verification_type_info value.

Parameters:
data - cpool_index or offset.

write16bit

public void write16bit(int value)
Writes a 16bit value.


Javassist 3.15.0-GA-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.