@Override
  public @Nullable <T extends DomElement> T getParentOfType(Class<T> requiredClass, boolean strict) {
    return DomFileElement.class.isAssignableFrom(requiredClass) && !strict ? (T)this : null;
  }
@Override
  public @Nullable <T extends DomElement> T getParentOfType(Class<T> requiredClass, boolean strict)