void (TreeElement node) { if (result != null) return; if (commonParent != null) { initStrongWhitespaceHolder(commonParent, node, false); } if (!expandChameleons && isCollapsedChameleon(node) || node instanceof LeafElement || node.getElementType() == searchedType) { result = node; return; } super.visitNode(node); }