docs: public void add(ServiceReference<D> declarationSRef) {
          D declaration = getDeclaration(declarationSRef);
          boolean matchFilter = declarationFilter.matches(declaration.getMetadata());
          declarations.put(declarationSRef, matchFilter);
      }