proguard.classfile.attribute.preverification
Class StackMapTableAttribute

java.lang.Object
  extended by proguard.classfile.attribute.Attribute
      extended by proguard.classfile.attribute.preverification.StackMapTableAttribute
All Implemented Interfaces:
VisitorAccepter

public class StackMapTableAttribute
extends Attribute

This Attribute represents a stack map table attribute.


Field Summary
 StackMapFrame[] stackMapFrames
           
 int u2stackMapFramesCount
           
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
StackMapTableAttribute()
          Creates an uninitialized StackMapTableAttribute.
StackMapTableAttribute(int stackMapFramesCount, StackMapFrame[] stackMapFrames)
          Creates a StackMapTableAttribute with the given stack map frames.
StackMapTableAttribute(StackMapFrame[] stackMapFrames)
          Creates a StackMapTableAttribute with the given stack map frames.
 
Method Summary
 void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor)
          Accepts the given visitor in the context of the given code attribute.
 void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor)
          Applies the given stack map frame visitor to all stack map frames.
 
Methods inherited from class proguard.classfile.attribute.Attribute
accept, accept, accept, getAttributeName, getVisitorInfo, setVisitorInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

u2stackMapFramesCount

public int u2stackMapFramesCount

stackMapFrames

public StackMapFrame[] stackMapFrames
Constructor Detail

StackMapTableAttribute

public StackMapTableAttribute()
Creates an uninitialized StackMapTableAttribute.


StackMapTableAttribute

public StackMapTableAttribute(StackMapFrame[] stackMapFrames)
Creates a StackMapTableAttribute with the given stack map frames.


StackMapTableAttribute

public StackMapTableAttribute(int stackMapFramesCount,
                              StackMapFrame[] stackMapFrames)
Creates a StackMapTableAttribute with the given stack map frames.

Method Detail

accept

public void accept(Clazz clazz,
                   Method method,
                   CodeAttribute codeAttribute,
                   AttributeVisitor attributeVisitor)
Description copied from class: Attribute
Accepts the given visitor in the context of the given code attribute.

Overrides:
accept in class Attribute

stackMapFramesAccept

public void stackMapFramesAccept(Clazz clazz,
                                 Method method,
                                 CodeAttribute codeAttribute,
                                 StackMapFrameVisitor stackMapFrameVisitor)
Applies the given stack map frame visitor to all stack map frames.