Interface Terminator
- All Known Implementing Classes:
Terminator.Branch, Terminator.Fallthrough, Terminator.Jump, Terminator.Return, Terminator.Switch, Terminator.Throw
public sealed interface Terminator
permits Terminator.Jump, Terminator.Branch, Terminator.Return, Terminator.Throw, Terminator.Fallthrough, Terminator.Switch
Where control flow goes after the last instruction of a
BasicBlock.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA conditional branch: control goes totrueTargetor falls through tofalseTarget.static final recordFalls into the next block without an explicit branch instruction.static final recordUnconditionalgoto.static final recordA supported JVM return opcode, or the implicit return past the last instruction of a method.static final recordstatic final recordathrow: control continues at one ofhandlers— the distinct handler offsets whose exception-table ranges cover the throw, in matching order — or leaves the method when none catches it.