Uses of Interface
java.lang.classfile.instruction.SwitchCase
Packages that use SwitchCase
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing code instructions for the
java.lang.classfile library.-
Uses of SwitchCase in java.lang.classfile
Method parameters in java.lang.classfile with type arguments of type SwitchCaseModifier and TypeMethodDescriptiondefault CodeBuilderCodeBuilder.lookupswitch(Label defaultTarget, List<SwitchCase> cases) Generates an instruction to access a jump table by key match and jump.default CodeBuilderCodeBuilder.tableswitch(int low, int high, Label defaultTarget, List<SwitchCase> cases) Generates an instruction to access a jump table by index and jump.default CodeBuilderCodeBuilder.tableswitch(Label defaultTarget, List<SwitchCase> cases) Generates an instruction to access a jump table by index and jump. -
Uses of SwitchCase in java.lang.classfile.instruction
Methods in java.lang.classfile.instruction that return SwitchCaseMethods in java.lang.classfile.instruction that return types with arguments of type SwitchCaseModifier and TypeMethodDescriptionLookupSwitchInstruction.cases()Returns the cases of the switch.TableSwitchInstruction.cases()Returns the cases of the switch.Method parameters in java.lang.classfile.instruction with type arguments of type SwitchCaseModifier and TypeMethodDescriptionstatic LookupSwitchInstructionLookupSwitchInstruction.of(Label defaultTarget, List<SwitchCase> cases) Returns a lookup switch instruction.static TableSwitchInstructionTableSwitchInstruction.of(int lowValue, int highValue, Label defaultTarget, List<SwitchCase> cases) Returns a table switch instruction.