code: public static Set<Dependency<?>> forInjectionPoints(Set<InjectionPoint> injectionPoints) {
      List<Dependency<?>> dependencies = Lists.newArrayList();
      for (InjectionPoint injectionPoint : injectionPoints) {
        dependencies.addAll(injectionPoint.getDependencies());
      }
      return ImmutableSet.copyOf(dependencies);
    }
docs: Returns the dependencies from the given injection points.