code: public F resolve(R resolvable, boolean cache) {
          R wrappedResolvable = wrap(resolvable);
          if (cache) {
              return resolved.getValue(wrappedResolvable);
          } else {
              return resolverFunction.apply(wrappedResolvable);
          }
      }
docs: Get the possible beans for the given element
  
  @param resolvable The resolving criteria
  @return An unmodifiable set of matching beans