- All Known Implementing Classes:
StackMapDecoder.StackMapFrameImpl
Models stack map frame of
StackMapTable attribute .- Since:
- 22
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA stack value for an object type.static enumA simple stack value.static interfaceAn uninitialized stack value.static interfaceThe type of a stack value. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the frame compact form type.locals()Returns the expanded local variable types.static StackMapFrameInfoof(Label target, List<StackMapFrameInfo.VerificationTypeInfo> locals, List<StackMapFrameInfo.VerificationTypeInfo> stack) Returns a new stack map frame.stack()Returns the expanded stack types.target()Returns the frame target label.
-
Method Details
-
frameType
int frameType()Returns the frame compact form type.- Returns:
- the frame compact form type
-
target
Label target()Returns the frame target label.- Returns:
- the frame target label
-
locals
List<StackMapFrameInfo.VerificationTypeInfo> locals()Returns the expanded local variable types.- Returns:
- the expanded local variable types
-
stack
Returns the expanded stack types.- Returns:
- the expanded stack types
-
of
static StackMapFrameInfo of(Label target, List<StackMapFrameInfo.VerificationTypeInfo> locals, List<StackMapFrameInfo.VerificationTypeInfo> stack) Returns a new stack map frame.- Parameters:
target- the location of the framelocals- the complete list of frame localsstack- the complete frame stack- Returns:
- a new stack map frame
-