boolean isChildOf(final @Nullable WrapImpl wrap, LeafBlockWrapper leaf, @NotNull FormatterIterationMonitor<Boolean> iterationMonitor) {
    if (getIgnoreParentWraps()) return false;
    if (!iterationMonitor.iterate()) return iterationMonitor.getFallbackValue();
    if (leaf != null && myIgnoredWraps != null) {
      Collection<LeafBlockWrapper> leaves = myIgnoredWraps.get(wrap);
      if (leaves != null && leaves.contains(leaf)) {
        return false;
      }
    }
    for (WrapImpl parent : myParents) {
      if (parent == wrap) return true;
      if (parent.isChildOf(wrap, leaf, iterationMonitor)) return true;
    }
    return false;
  }
boolean isChildOf(final @Nullable WrapImpl wrap, LeafBlockWrapper leaf, @NotNull FormatterIterationMonitor<Boolean> iterationMonitor)