proguard.classfile.attribute.preverification
Class SameOneFrame

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

public class SameOneFrame
extends StackMapFrame

This StackMapFrame represents a "same locals 1 stack item frame" or a "same locals 1 stack item frame extended".


Field Summary
 VerificationType stackItem
           
 
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
SameOneFrame()
          Creates an uninitialized SameOneFrame.
SameOneFrame(int tag)
          Creates a SameOneFrame with the given tag.
SameOneFrame(VerificationType stackItem)
          Creates a SameOneFrame with the given stack verification type.
 
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 stackItemAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)
          Applies the given verification type visitor to the stack item.
 java.lang.String toString()
           
 
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

stackItem

public VerificationType stackItem
Constructor Detail

SameOneFrame

public SameOneFrame()
Creates an uninitialized SameOneFrame.


SameOneFrame

public SameOneFrame(int tag)
Creates a SameOneFrame with the given tag.


SameOneFrame

public SameOneFrame(VerificationType stackItem)
Creates a SameOneFrame with the given stack verification type.

Method Detail

stackItemAccept

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


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