org.cojen.classfile.attribute
Class StackMapTableAttr

java.lang.Object
  extended by org.cojen.classfile.Attribute
      extended by org.cojen.classfile.attribute.StackMapTableAttr

public class StackMapTableAttr
extends Attribute

Author:
Brian S O'Neill

Nested Class Summary
static class StackMapTableAttr.StackMapFrame
           
static class StackMapTableAttr.VerificationTypeInfo
           
 
Field Summary
 
Fields inherited from class org.cojen.classfile.Attribute
CODE, CONSTANT_VALUE, DEPRECATED, ENCLOSING_METHOD, EXCEPTIONS, INNER_CLASSES, LINE_NUMBER_TABLE, LOCAL_VARIABLE_TABLE, RUNTIME_INVISIBLE_ANNOTATIONS, RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, RUNTIME_VISIBLE_ANNOTATIONS, RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, SIGNATURE, SOURCE_FILE, STACK_MAP_TABLE, SYNTHETIC
 
Constructor Summary
StackMapTableAttr(ConstantPool cp, String name, int length, DataInput din)
           
 
Method Summary
 StackMapTableAttr.StackMapFrame getInitialFrame()
           
 int getLength()
          Returns the length (in bytes) of this attribute in the class file.
 void initialStackMapFrame(MethodInfo method)
           
 void writeDataTo(DataOutput dout)
          Write just the attribute specific data.
 void writeTo(DataOutput dout)
          This method writes the 16 bit name constant index followed by the 32 bit attribute length, followed by the attribute specific data.
 
Methods inherited from class org.cojen.classfile.Attribute
getAttributes, getConstantPool, getName, getNameConstant, readFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackMapTableAttr

public StackMapTableAttr(ConstantPool cp,
                         String name,
                         int length,
                         DataInput din)
                  throws IOException
Throws:
IOException
Method Detail

getLength

public int getLength()
Description copied from class: Attribute
Returns the length (in bytes) of this attribute in the class file.

Specified by:
getLength in class Attribute

writeTo

public void writeTo(DataOutput dout)
             throws IOException
Description copied from class: Attribute
This method writes the 16 bit name constant index followed by the 32 bit attribute length, followed by the attribute specific data.

Overrides:
writeTo in class Attribute
Throws:
IOException

writeDataTo

public void writeDataTo(DataOutput dout)
                 throws IOException
Description copied from class: Attribute
Write just the attribute specific data. The default implementation writes nothing.

Overrides:
writeDataTo in class Attribute
Throws:
IOException

getInitialFrame

public StackMapTableAttr.StackMapFrame getInitialFrame()

initialStackMapFrame

public void initialStackMapFrame(MethodInfo method)


Copyright © 2004-2008 Brian S O'Neill. All Rights Reserved.