private static @Nullable StubFileElementType<?> determineCurrentFileElementType(IndexedFile indexedFile) {
    if (shouldSkipFile(indexedFile.getFile())) return null;
    var stubBuilderType = StubTreeBuilder.getStubBuilderType(indexedFile, true);
    if (stubBuilderType == null) return null;
    return stubBuilderType.getStubFileElementType();
  }
private static @Nullable StubFileElementType<?> determineCurrentFileElementType(IndexedFile indexedFile)