class ResourceSetLabelRegistration {

    void updateLabelsForDeletedResourceSet(ResourceSetDescription resourceSet) {
        JsonValue labels = resourceSet.getDescription().get(OAuth2Constants.ResourceSets.LABELS);
        if (!labels.isNull() && labels.size() > 0) {
            updateLabels(resourceSet, Collections.<String>emptySet(), labels.asSet(String.class));
        }
    }

    @Inject public  ResourceSetLabelRegistration(UmaLabelsStore labelsStore);

}