docs: @Pure
  	public static <T extends Node> T getChild(Node parent, Class<T> type) {
  		assert parent != null : AssertMessages.notNullParameter(0);
  		assert type != null : AssertMessages.notNullParameter(1);
  		final NodeList children = parent.getChildNodes();
  		final int len = children.getLength();
  		for (int i = 0; i < len; ++i) {
  			final Node child = children.item(i);
  			if (type.isInstance(child)) {
  				return type.cast(child);
  			}
  		}
  		return null;
  	}