return ====== .. include:: /ref/targets/autogen/descriptions/return.txt .. contents:: Configuration options --------------------- value ~~~~~ Checks the value that is being returned. .. code-block:: yaml search: return: value: reference: name: "isValid" .. code-block:: java :emphasize-lines: 4 private boolean isValid; public boolean isValid() { return this.isValid; } type ~~~~ Checks the type of the value that is being returned. .. code-block:: yaml search: return: type: "int" .. code-block:: java :emphasize-lines: 9 private boolean isValid; private int offset; public boolean isValid() { return this.isValid; } public int getOffset() { return this.offset; } .. seealso:: The examples above use shorthands, see :doc:`type` target for more advanced configurations .. include:: /ref/targets/partials/searcher.txt