void () { setUnknown(myRoot); for (FilteringNode node : myLeaves) { State state = getState(node); while (node != null && node.state != State.VISIBLE) { if (node.state != state) { node.state = state; node = node.getParentNode(); if (node != null && state == State.HIDDEN) { state = getState(node); } } else { break; } } } }