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
ThisStackMapFramerepresents 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 VerificationTypestackItem-
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 voidaccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)Accepts the given visitor.booleanequals(java.lang.Object object)intgetTag()Returns the stack map frame tag that specifies the entry type.inthashCode()voidstackItemAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)Applies the given verification type visitor to the stack item.java.lang.StringtoString()-
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:StackMapFrameReturns the stack map frame tag that specifies the entry type.- Specified by:
getTagin classStackMapFrame
-
accept
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
Description copied from class:StackMapFrameAccepts the given visitor.- Specified by:
acceptin classStackMapFrame
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classStackMapFrame
-
hashCode
public int hashCode()
- Overrides:
hashCodein classStackMapFrame
-
toString
public java.lang.String toString()
- Overrides:
toStringin classStackMapFrame
-
-