class PersistenceProviderUtils {

    public static Collection<WorkspacePersistenceProvider> getPersistenceProviders() {<FILL_FUNCTION_BODY>}
}

        Map<String, WorkspacePersistenceProvider> providers = new LinkedHashMap<>();

        for (WorkspacePersistenceProvider w : Lookup.getDefault().lookupAll(WorkspacePersistenceProvider.class)) {
            try {
                String id = w.getIdentifier();
                if (id != null && !id.isEmpty()) {
                    if (providers.containsKey(w.getIdentifier())) {
                        throw new RuntimeException(
                            "Found a duplicate workspace persistence provider with the idenfier '" + id + "'");
                    }
                    providers.put(w.getIdentifier(), w);
                }
            } catch (Exception e) {
            }
        }
        return providers.values();
    
<no_super_class>