code: public Collection<Dependency> getMemberInjectionDependencies(
        Key<?> typeKey, TypeLiteral<?> type) {
      Set<Dependency> required = new LinkedHashSet<Dependency>();
      for (MethodLiteral<?, Method> method : memberCollector.getMethods(type)) {
        required.addAll(getDependencies(typeKey, method));
      }
  
      for (FieldLiteral<?> field : memberCollector.getFields(type)) {
        Key<?> key = getKey(field);
        required.add(new Dependency(typeKey, key, isOptional(field), false,
            "member injection of " + field));
      }
      return required;
    }
docs: Collects and returns all keys required to member-inject the given class.
  
  @param typeKey key causing member injection
  @param type class for which required keys are calculated
  @return keys required to inject given class