public static <T extends DomElement> DomElementPattern.Capture<T> domElement(Class<T> aClass) {
    return new DomElementPattern.Capture<>(aClass);
  }
public static <T extends DomElement> DomElementPattern.Capture<T> domElement(Class<T> aClass)