@Override
    public void visitSynchronizedStatement(@NotNull PsiSynchronizedStatement statement) {
      super.visitSynchronizedStatement(statement);
      final PsiCodeBlock body = statement.getBody();
      if (!ControlFlowUtils.isEmptyCodeBlock(body)) {
        return;
      }
      registerError(statement.getFirstChild());
    }
@Override
    public void visitSynchronizedStatement(@NotNull PsiSynchronizedStatement statement)