proguard.classfile.attribute.preverification
Class StackMapAttribute

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

public class StackMapAttribute
extends Attribute

This Attribute represents an exceptions attribute.


Field Summary
 FullFrame[] stackMapFrames
           
 int u2stackMapFramesCount
           
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
StackMapAttribute()
          Creates an uninitialized ExceptionsAttribute.
StackMapAttribute(FullFrame[] stackMapFrames)
          Creates a StackMapTableAttribute with the given stack map frames.
StackMapAttribute(int stackMapFramesCount, FullFrame[] 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 FullFrame[] stackMapFrames
Constructor Detail

StackMapAttribute

public StackMapAttribute()
Creates an uninitialized ExceptionsAttribute.


StackMapAttribute

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


StackMapAttribute

public StackMapAttribute(int stackMapFramesCount,
                         FullFrame[] 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.