## Uses of Class
org.apache.bcel.generic.ArithmeticInstruction

- Packages that use ArithmeticInstruction
  Package | Description
  --- | ---
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.

- - ### Uses of ArithmeticInstruction in org.apache.bcel.generic

    Subclasses of ArithmeticInstruction in org.apache.bcel.generic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DADD` DADD - Add doubles
    `class` | `DDIV` DDIV - Divide doubles
    `class` | `DMUL` DMUL - Multiply doubles
    `class` | `DNEG` DNEG - Negate double
    `class` | `DREM` DREM - Remainder of doubles
    `class` | `DSUB` DSUB - Substract doubles
    `class` | `FADD` FADD - Add floats
    `class` | `FDIV` FDIV - Divide floats
    `class` | `FMUL` FMUL - Multiply floats
    `class` | `FNEG` FNEG - Negate float
    `class` | `FREM` FREM - Remainder of floats
    `class` | `FSUB` FSUB - Substract floats
    `class` | `IADD` IADD - Add ints
    `class` | `IAND` IAND - Bitwise AND int
    `class` | `IDIV` IDIV - Divide ints
    `class` | `IMUL` IMUL - Multiply ints
    `class` | `INEG` INEG - Negate int
    `class` | `IOR` IOR - Bitwise OR int
    `class` | `IREM` IREM - Remainder of int
    `class` | `ISHL` ISHL - Arithmetic shift left int
    `class` | `ISHR` ISHR - Arithmetic shift right int
    `class` | `ISUB` ISUB - Substract ints
    `class` | `IUSHR` IUSHR - Logical shift right int
    `class` | `IXOR` IXOR - Bitwise XOR int
    `class` | `LADD` LADD - Add longs
    `class` | `LAND` LAND - Bitwise AND longs
    `class` | `LDIV` LDIV - Divide longs
    `class` | `LMUL` LMUL - Multiply longs
    `class` | `LNEG` LNEG - Negate long
    `class` | `LOR` LOR - Bitwise OR long
    `class` | `LREM` LREM - Remainder of long
    `class` | `LSHL` LSHL - Arithmetic shift left long
    `class` | `LSHR` LSHR - Arithmetic shift right long
    `class` | `LSUB` LSUB - Substract longs
    `class` | `LUSHR` LUSHR - Logical shift right long
    `class` | `LXOR` LXOR - Bitwise XOR long

    Fields in org.apache.bcel.generic declared as ArithmeticInstruction
    Modifier and Type | Field and Description
    --- | ---
    `static ArithmeticInstruction` | InstructionConst.`DADD`
    `static ArithmeticInstruction` | InstructionConstants.`DADD` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`DDIV`
    `static ArithmeticInstruction` | InstructionConstants.`DDIV` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`DMUL`
    `static ArithmeticInstruction` | InstructionConstants.`DMUL` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`DNEG`
    `static ArithmeticInstruction` | InstructionConstants.`DNEG` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`DREM`
    `static ArithmeticInstruction` | InstructionConstants.`DREM` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`DSUB`
    `static ArithmeticInstruction` | InstructionConstants.`DSUB` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`FADD`
    `static ArithmeticInstruction` | InstructionConstants.`FADD` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`FDIV`
    `static ArithmeticInstruction` | InstructionConstants.`FDIV` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`FMUL`
    `static ArithmeticInstruction` | InstructionConstants.`FMUL` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`FNEG`
    `static ArithmeticInstruction` | InstructionConstants.`FNEG` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`FREM`
    `static ArithmeticInstruction` | InstructionConstants.`FREM` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`FSUB`
    `static ArithmeticInstruction` | InstructionConstants.`FSUB` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IADD`
    `static ArithmeticInstruction` | InstructionConstants.`IADD` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IAND`
    `static ArithmeticInstruction` | InstructionConstants.`IAND` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IDIV`
    `static ArithmeticInstruction` | InstructionConstants.`IDIV` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IMUL`
    `static ArithmeticInstruction` | InstructionConstants.`IMUL` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`INEG`
    `static ArithmeticInstruction` | InstructionConstants.`INEG` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IOR`
    `static ArithmeticInstruction` | InstructionConstants.`IOR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IREM`
    `static ArithmeticInstruction` | InstructionConstants.`IREM` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`ISHL`
    `static ArithmeticInstruction` | InstructionConstants.`ISHL` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`ISHR`
    `static ArithmeticInstruction` | InstructionConstants.`ISHR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`ISUB`
    `static ArithmeticInstruction` | InstructionConstants.`ISUB` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IUSHR`
    `static ArithmeticInstruction` | InstructionConstants.`IUSHR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`IXOR`
    `static ArithmeticInstruction` | InstructionConstants.`IXOR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LADD`
    `static ArithmeticInstruction` | InstructionConstants.`LADD` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LAND`
    `static ArithmeticInstruction` | InstructionConstants.`LAND` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LDIV`
    `static ArithmeticInstruction` | InstructionConstants.`LDIV` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LMUL`
    `static ArithmeticInstruction` | InstructionConstants.`LMUL` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LNEG`
    `static ArithmeticInstruction` | InstructionConstants.`LNEG` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LOR`
    `static ArithmeticInstruction` | InstructionConstants.`LOR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LREM`
    `static ArithmeticInstruction` | InstructionConstants.`LREM` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LSHL`
    `static ArithmeticInstruction` | InstructionConstants.`LSHL` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LSHR`
    `static ArithmeticInstruction` | InstructionConstants.`LSHR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LSUB`
    `static ArithmeticInstruction` | InstructionConstants.`LSUB` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LUSHR`
    `static ArithmeticInstruction` | InstructionConstants.`LUSHR` Deprecated.
    `static ArithmeticInstruction` | InstructionConst.`LXOR`
    `static ArithmeticInstruction` | InstructionConstants.`LXOR` Deprecated.

    Methods in org.apache.bcel.generic that return ArithmeticInstruction
    Modifier and Type | Method and Description
    --- | ---
    `static ArithmeticInstruction` | InstructionFactory.`createBinaryOperation(String op, Type type)` Create binary operation for simple basic types, such as int and float.

    Methods in org.apache.bcel.generic with parameters of type ArithmeticInstruction
    Modifier and Type | Method and Description
    --- | ---
    `void` | EmptyVisitor.`visitArithmeticInstruction(ArithmeticInstruction obj)`
    `void` | Visitor.`visitArithmeticInstruction(ArithmeticInstruction obj)`

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.