proguard.classfile.attribute.preverification
Class FullFrame

java.lang.Object
  extended by proguard.classfile.attribute.preverification.StackMapFrame
      extended by proguard.classfile.attribute.preverification.FullFrame
All Implemented Interfaces:
VisitorAccepter

public class FullFrame
extends StackMapFrame

This StackMapFrame represents a "full frame".


Field Summary
 VerificationType[] stack
           
 int stackCount
           
 VerificationType[] variables
           
 int variablesCount
           
 
Fields inherited from class proguard.classfile.attribute.preverification.StackMapFrame
FULL_FRAME, LESS_ZERO_FRAME, MORE_ZERO_FRAME, SAME_ONE_FRAME, SAME_ONE_FRAME_EXTENDED, SAME_ZERO_FRAME, SAME_ZERO_FRAME_EXTENDED, u2offsetDelta, visitorInfo
 
Constructor Summary
FullFrame()
          Creates an uninitialized FullFrame.
FullFrame(int offsetDelta, int variablesCount, VerificationType[] variables, int stackCount, VerificationType[] stack)
          Creates a FullFrame with the given variables and stack.
FullFrame(int offsetDelta, VerificationType[] variables, VerificationType[] stack)
          Creates a FullFrame with the given variables and stack.
 
Method Summary
 void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
          Accepts the given visitor.
 boolean equals(java.lang.Object object)
           
 int getTag()
          Returns the stack map frame tag that specifies the entry type.
 int hashCode()
           
 void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)
          Applies the given verification type visitor to all stack.
 java.lang.String toString()
           
 void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)
          Applies the given verification type visitor to all variables.
 
Methods inherited from class proguard.classfile.attribute.preverification.StackMapFrame
getOffsetDelta, getVisitorInfo, setVisitorInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

variablesCount

public int variablesCount

variables

public VerificationType[] variables

stackCount

public int stackCount

stack

public VerificationType[] stack
Constructor Detail

FullFrame

public FullFrame()
Creates an uninitialized FullFrame.


FullFrame

public FullFrame(int offsetDelta,
                 VerificationType[] variables,
                 VerificationType[] stack)
Creates a FullFrame with the given variables and stack.


FullFrame

public FullFrame(int offsetDelta,
                 int variablesCount,
                 VerificationType[] variables,
                 int stackCount,
                 VerificationType[] stack)
Creates a FullFrame with the given variables and stack.

Method Detail

variablesAccept

public void variablesAccept(Clazz clazz,
                            Method method,
                            CodeAttribute codeAttribute,
                            int offset,
                            VerificationTypeVisitor verificationTypeVisitor)
Applies the given verification type visitor to all variables.


stackAccept

public void stackAccept(Clazz clazz,
                        Method method,
                        CodeAttribute codeAttribute,
                        int offset,
                        VerificationTypeVisitor verificationTypeVisitor)
Applies the given verification type visitor to all stack.


getTag

public int getTag()
Description copied from class: StackMapFrame
Returns the stack map frame tag that specifies the entry type.

Specified by:
getTag in class StackMapFrame

accept

public void accept(Clazz clazz,
                   Method method,
                   CodeAttribute codeAttribute,
                   int offset,
                   StackMapFrameVisitor stackMapFrameVisitor)
Description copied from class: StackMapFrame
Accepts the given visitor.

Specified by:
accept in class StackMapFrame

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class StackMapFrame

hashCode

public int hashCode()
Overrides:
hashCode in class StackMapFrame

toString

public java.lang.String toString()
Overrides:
toString in class StackMapFrame