public static int getHtmlStubVersion() {
    int version = stubVersion;
    if (version != -1) return version;
    IElementType[] dataElementTypes = IElementType.enumerate(
      (elementType) -> elementType instanceof IStubFileElementType && isAcceptable(elementType));

    int res = Arrays.stream(dataElementTypes).mapToInt((e) -> ((IStubFileElementType<?>)e).getStubVersion()).sum();
    stubVersion = res;
    
    return res;
  }
public static int getHtmlStubVersion()