public class SameOneFrame extends StackMapFrame
StackMapFrame
represents a "same locals 1 stack item frame" or a "same locals 1
stack item frame extended".Modifier and Type | Field and Description |
---|---|
VerificationType |
stackItem |
FULL_FRAME, LESS_ZERO_FRAME, MORE_ZERO_FRAME, SAME_ONE_FRAME, SAME_ONE_FRAME_EXTENDED, SAME_ZERO_FRAME, SAME_ZERO_FRAME_EXTENDED, u2offsetDelta
processingFlags, processingInfo
Constructor and 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.
|
Modifier and Type | Method and 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() |
getOffsetDelta
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public VerificationType stackItem
public SameOneFrame()
public SameOneFrame(int tag)
public SameOneFrame(VerificationType stackItem)
public void stackItemAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor)
public int getTag()
StackMapFrame
getTag
in class StackMapFrame
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
StackMapFrame
accept
in class StackMapFrame
public boolean equals(java.lang.Object object)
equals
in class StackMapFrame
public int hashCode()
hashCode
in class StackMapFrame
public java.lang.String toString()
toString
in class StackMapFrame