code: public Set<D> getMatchedDeclaration() {
          Set<D> bindedSet = new HashSet<D>();
          for (Map.Entry<ServiceReference<D>, Boolean> e : declarations.entrySet()) {
              if (e.getValue()) {
                  bindedSet.add(getDeclaration(e.getKey()));
              }
          }
          return bindedSet;
      }
docs: Return a set of all the Declaration matching the DeclarationFilter of the.
  Linker.
  
  @return a set of all the Declaration matching the DeclarationFilter of the
  Linker.