Interface StackMapFrameInfo
public sealed interface StackMapFrameInfo
Models stack map frame of
StackMapTable attribute (JVMS 4.7.4).- Since:
- 24
-
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
-
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
-