synchronizedStatement ===================== .. include:: /ref/targets/autogen/descriptions/synchronizedstatement.txt .. contents:: Configuration options --------------------- lock ~~~~ Checks the object that is being locked on. .. code-block:: yaml search: synchronizedStatement: lock: expression: type: reference: matches: "java.lang.Class<.*>" .. code-block:: java synchronized (MyClass.class) { } .. include:: /ref/targets/partials/searcher.txt