monitorenter or monitorexit instruction in the code array of a Code attribute.
Corresponding opcodes have a kind of Opcode.Kind#MONITOR . Delivered as a CodeElement when traversing the
elements of a CodeModel.
A monitor instruction is composite:
MonitorInstruction(Opcode opcode)
| Modifier and Type | Method and Description |
|---|---|
| public static MonitorInstruction | Returns: a monitor instructionthe opcode for the specific type of monitor instruction,
which must be of kind op)Opcode.Returns a monitor instruction. |
| of | back to summary |
|---|---|
| public static MonitorInstruction of(Opcode op) Returns a monitor instruction.
| |