class DefaultPreferenceScopeTypes implements PreferenceScopeTypes {

    @Override
    public boolean typeRequiresKey(final String type) throws InvalidPreferenceScopeException {
        validateType(type);

        return defaultKeyByType.get(type) == null;
    }

    protected  DefaultPreferenceScopeTypes();
    @Inject public  DefaultPreferenceScopeTypes(final UsernameProvider usernameProvider);

}