annotationParameter =================== .. include:: /ref/targets/autogen/descriptions/annotationparameter.txt .. contents:: Configuration options --------------------- owner ~~~~~ The owner of an annotation parameter is the :doc:`annotation` itself. .. code-block:: yaml search: annotationParameter: owner: type: "HttpPost" .. code-block:: java :emphasize-lines: 2 @HttpPost( route = "/api/user" ) public void createUser(UserDTO request) { } name ~~~~ Checks if the *key* of the annotation parameter matches. .. code-block:: yaml search: annotationParameter: owner: name: "route" .. code-block:: java :emphasize-lines: 2 @HttpPost( route = "/api/user" ) public void createUser(UserDTO request) { } .. seealso:: The examples above use shorthands, see :doc:`string` target for more advanced configurations value ~~~~~ Checks if the *value* of the annotation parameter matches. The value of an annotation is an :doc:`expression` and can be configured with its own target. .. code-block:: yaml search: annotationParameter: value: value: "/api/user" .. code-block:: java :emphasize-lines: 2 @HttpPost( route = "/api/user" ) public void createUser(UserDTO request) { } .. include:: /ref/targets/partials/searcher.txt