Contents
Interface LookupSwitchInstruction
- All Superinterfaces:
ClassFileElementPREVIEW
,CodeElementPREVIEW
,InstructionPREVIEW
LookupSwitchInstruction
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a
lookupswitch
instruction in the code
array of a
Code
attribute. Delivered as a CodeElement
PREVIEW when traversing
the elements of a CodeModel
PREVIEW.- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptioncases()
Returns the cases of the switch.Returns the target of the default case.Returns a lookup switch instruction.Methods declared in interface java.lang.classfile.InstructionPREVIEW
opcode, sizeInBytes
LookupSwitchInstruction
when preview features are enabled.