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 interface
A stack value for an object type.static enum
A simple stack value.static interface
An uninitialized stack value.static interface
The type of a stack value. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the frame compact form type.locals()
Returns the expanded local variable types.static StackMapFrameInfo
of
(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
-