/** * Merges all consecutive comments recursively. * * @param recurse If {@code true}, then this is applied recursively. */ public default void mergeComments(boolean recurse) { mergeComments(); if (recurse) { for (final Element child : getElements()) { child.mergeComments(true); } } }