public @NotNull XSourceKind getCurrentSourceKind() {
    StateFlow<@NotNull Boolean> state = getAlternativeSourceKindState();
    return state.getValue() ? XSourceKind.ALTERNATIVE : XSourceKind.MAIN;
  }
public @NotNull XSourceKind getCurrentSourceKind()