@NonNull
    static Set<String> scopeCollectionToStringSet(@NonNull Collection<Scope> scopeCollection) {
        Set<String> stringCollection = new HashSet<>();
        for (Scope scope : scopeCollection) {
            stringCollection.add(scope.name());
        }

        return stringCollection;
    }
@NonNull
    static Set<String> scopeCollectionToStringSet(@NonNull Collection<Scope> scopeCollection) {
        Set<String> stringCollection = new HashSet<>();
        for (Scope scope : scopeCollection) {
            stringCollection.add(scope.name());
        }

        return stringCollection;
    }
@ NonNull static Set < String > scopeCollectionToStringSet ( @ NonNull Collection < Scope > scopeCollection ) { Set < String > stringCollection = new HashSet <> ( ) ; for ( Scope scope : scopeCollection ) { stringCollection . add ( scope . name ( ) ) ; } return stringCollection ; }
Converts a {@link Collection} of {@link Scope}s to a {@link Set} of {@link String}s.

@param scopeCollection the {@link Collection} of {@link Scope}s to convert.
@return a {@link Set} of {@link String}s.
Converts a { @link Collection } of { @link Scope } s to a { @link Set } of { @link String } s .