public static final class StackMapTableAttribute.SameLocals1StackItemFrameExtended extends java.lang.Object implements StackMapTableAttribute.StackMapFrame
Modifier and Type | Method and Description |
---|---|
boolean |
accept(NodeHierarchicalVisitor nodeHierarchicalVisitor)
Accepts a
NodeHierarchicalVisitor . |
StackMapTableAttribute.SameLocals1StackItemFrameExtended |
copy() |
boolean |
equals(java.lang.Object object) |
int |
getFrameType() |
int |
getLength() |
int |
getOffsetDelta() |
StackMapTableAttribute.VerificationTypeInfo |
getVerificationTypeInfo() |
int |
hashCode() |
static StackMapTableAttribute.SameLocals1StackItemFrameExtended |
newInstance(int frameType,
int offsetDelta,
StackMapTableAttribute.VerificationTypeInfo verificationTypeInfo) |
void |
write(java.io.DataOutput dataOutput) |
public StackMapTableAttribute.SameLocals1StackItemFrameExtended copy()
copy
in interface StackMapTableAttribute.StackMapFrame
public StackMapTableAttribute.VerificationTypeInfo getVerificationTypeInfo()
public boolean accept(NodeHierarchicalVisitor nodeHierarchicalVisitor)
Node
NodeHierarchicalVisitor
.
Returns the result of nodeHierarchicalVisitor.visitLeave(this)
.
If nodeHierarchicalVisitor
is null
, a NullPointerException
may be thrown. But no guarantees can be made for all implementations.
If a RuntimeException
is thrown by the current NodeHierarchicalVisitor
, a NodeTraversalException
may be thrown with the RuntimeException
wrapped. But no guarantees can be made for all implementations.
To implement this method, consider the following example:
if(nodeHierarchicalVisitor.visitEnter(this)) {
for(Node childNode : childNodes) {
if(!childNode.accept(nodeHierarchicalVisitor)) {
break;
}
}
}
return nodeHierarchicalVisitor.visitLeave(this);
The default implementation will:
NullPointerException
if nodeHierarchicalVisitor
is null
.NodeTraversalException
if nodeHierarchicalVisitor
throws a RuntimeException
.Node
s, because it does not have any.public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int getFrameType()
getFrameType
in interface StackMapTableAttribute.StackMapFrame
public int getLength()
getLength
in interface StackMapTableAttribute.StackMapFrame
public int getOffsetDelta()
public int hashCode()
hashCode
in class java.lang.Object
public void write(java.io.DataOutput dataOutput)
write
in interface StackMapTableAttribute.StackMapFrame
public static StackMapTableAttribute.SameLocals1StackItemFrameExtended newInstance(int frameType, int offsetDelta, StackMapTableAttribute.VerificationTypeInfo verificationTypeInfo)