private @Nullable LeafBlockWrapper getPrevBlock(final @Nullable LeafBlockWrapper result) {
    if (result != null) {
      return result.getPreviousBlock();
    }
    else {
      return myLastBlock;
    }
  }
private @Nullable LeafBlockWrapper getPrevBlock(final @Nullable LeafBlockWrapper result)