classfilewriter 1.0.0.Final

org.jboss.classfilewriter.attributes
Class StackMapTableAttribute

java.lang.Object
  extended by org.jboss.classfilewriter.attributes.Attribute
      extended by org.jboss.classfilewriter.attributes.StackMapTableAttribute
All Implemented Interfaces:
WritableEntry

public class StackMapTableAttribute
extends Attribute

A JDK 6 StackMap sttribute. TODO: this will currently fall over if the code length, max locals or max stack is above 65535

Author:
Stuart Douglas

Field Summary
static String NAME
           
 
Fields inherited from class org.jboss.classfilewriter.attributes.Attribute
constPool
 
Constructor Summary
StackMapTableAttribute(ClassMethod classMethod, ConstPool constPool)
           
 
Method Summary
 void writeData(ByteArrayDataOutputStream stream)
           
 
Methods inherited from class org.jboss.classfilewriter.attributes.Attribute
getName, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

StackMapTableAttribute

public StackMapTableAttribute(ClassMethod classMethod,
                              ConstPool constPool)
Method Detail

writeData

public void writeData(ByteArrayDataOutputStream stream)
               throws IOException
Specified by:
writeData in class Attribute
Throws:
IOException

classfilewriter 1.0.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.