private static @NotNull TokenSet orSets(@NotNull Function<? super PythonDialectsTokenSetContributor, ? extends TokenSet> getter) {
    return TokenSet.orSet(
        ContainerUtil.map2Array(PythonDialectsTokenSetContributor.EP_NAME.getExtensionList(), TokenSet.class, getter)
    );
  }
private static @NotNull TokenSet orSets(@NotNull Function<? super PythonDialectsTokenSetContributor, ? extends TokenSet> getter)