class ResourceSetLabelRegistration {

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

    @Inject public  ResourceSetLabelRegistration(UmaLabelsStore labelsStore);

}