code: @Override
      public Set<String> resolve(final Annotation[] annotations) {
          final Set<String> scopes = new HashSet<>();
  
          final List<String> fields = uriInfo.getQueryParameters().get(FIELDS_PARAM_NAME);
          if (fields != null && !fields.isEmpty()) {
              for (final String field : fields) {
                  scopes.addAll(getScopesForField(field));
              }
          } else {
              scopes.add(DEFAULT_SCOPE);
          }
          return scopes;
      }
docs: {@inheritDoc}