public static <T> List<T> getDefinedChildrenOfType(final @NotNull DomElement parent, final Class<T> type) {
    return getDefinedChildrenOfType(parent, type, true, true);
  }
public static <T> List<T> getDefinedChildrenOfType(final @NotNull DomElement parent, final Class<T> type)