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, u2offsetDeltaprocessingFlags, 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() |
getOffsetDeltagetProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfopublic 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()
StackMapFramegetTag in class StackMapFramepublic void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
StackMapFrameaccept in class StackMapFramepublic boolean equals(java.lang.Object object)
equals in class StackMapFramepublic int hashCode()
hashCode in class StackMapFramepublic java.lang.String toString()
toString in class StackMapFrame