Class SameOneFrame
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.preverification.StackMapFrame
-
- proguard.classfile.attribute.preverification.SameOneFrame
-
- All Implemented Interfaces:
java.io.Serializable
,Processable
public class SameOneFrame extends StackMapFrame
ThisStackMapFrame
represents a "same locals 1 stack item frame" or a "same locals 1 stack item frame extended".- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
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 classStackMapFrame
-
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 classStackMapFrame
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classStackMapFrame
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classStackMapFrame
-
toString
public java.lang.String toString()
- Overrides:
toString
in classStackMapFrame
-
-