binaryexpression ================ .. include:: /ref/targets/autogen/descriptions/binaryexpression.txt .. contents:: Configuration options --------------------- first ~~~~~ Checks the first part of the expression, also called the left-hand side. .. code-block:: yaml search: binaryExpression: first: methodcall: {} .. code-block:: java :emphasize-lines: 1 if (this.getValue() & this.booleanValue) { // ... } second ~~~~~~ Checks the second part of the binaryExpression, also called the right-hand side. .. code-block:: yaml search: binaryExpression: second: reference: {} .. code-block:: java :emphasize-lines: 2 private static final int VALUE = 1; boolean ok = getValue() | VALUE; operator ~~~~~~~~ Checks the operator. This can be one of the following: ``+``, ``-``, ``*``, ``/``, ``%``, ``&&``, ``||``, ``==``, ``!=``, ``<``, ``<=``, ``>``, ``>=``, ``^``, ``&``, ``|``, ``<<``, ``>>``, ``>>>``. .. code-block:: yaml search: binaryExpression: operator: "&&" .. code-block:: java :emphasize-lines: 1 if (condition1 && condition2) { // ... } .. include:: /ref/targets/partials/baseexpression.txt