Interface OperatorInstruction
- All Superinterfaces:
- ClassFileElement,- CodeElement,- Instruction
Models an arithmetic operator instruction in the 
code array of a
 Code attribute.  Corresponding opcodes have a kind of
 Opcode.Kind.OPERATOR.  Delivered as a CodeElement when
 traversing the elements of a CodeModel.
 An operator instruction is composite:
OperatorInstruction(Opcode opcode)
- Since:
- 24
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic OperatorInstructionReturns an operator instruction.typeKind()Returns the operand type of the instruction.Methods declared in interface java.lang.classfile.Instructionopcode, sizeInBytes
- 
Method Details- 
typeKind
- 
ofReturns an operator instruction.- Parameters:
- op- the opcode for the specific type of operator instruction, which must be of kind- Opcode.Kind.OPERATOR
- Returns:
- an operator instruction
- Throws:
- IllegalArgumentException- if the opcode kind is not- Opcode.Kind.OPERATOR.
 
 
-