@Override
    public void visitSynchronizedStatement(@NotNull GrSynchronizedStatement synchronizedStatement) {
      super.visitSynchronizedStatement(synchronizedStatement);
      final GrExpression lock = synchronizedStatement.getMonitor();
      if (lock == null || !(lock instanceof GrReferenceExpression && PsiUtil.isThisReference(lock))) {
        return;
      }
      registerError(lock);
    }
@Override
    public void visitSynchronizedStatement(@NotNull GrSynchronizedStatement synchronizedStatement)