Package com.tonic.parser.attribute.stack
Class SameFrame
- java.lang.Object
-
- com.tonic.parser.attribute.stack.StackMapFrame
-
- com.tonic.parser.attribute.stack.SameFrame
-
public class SameFrame extends StackMapFrame
Represents a SameFrame in the StackMapTable attribute.
-
-
Constructor Summary
Constructors Constructor Description SameFrame(int frameType)Constructs a SameFrame.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()Returns the total length of this frame in bytes.intgetOffsetDelta()StringtoString()-
Methods inherited from class com.tonic.parser.attribute.stack.StackMapFrame
getFrameType, readFrame, write
-
-
-
-
Method Detail
-
getOffsetDelta
public int getOffsetDelta()
- Specified by:
getOffsetDeltain classStackMapFrame- Returns:
- the bytecode offset delta from the previous frame
-
getLength
public int getLength()
Description copied from class:StackMapFrameReturns the total length of this frame in bytes.- Specified by:
getLengthin classStackMapFrame- Returns:
- the length in bytes
-
toString
public String toString()
- Overrides:
toStringin classStackMapFrame
-
-