code: public static <T> void defineDependency(Class<T> clazz, Collection<String> qualifiers, T dependency) {
          SortedSet<String> qs = new TreeSet<String>();
          if (qualifiers != null) {
              qs.addAll(qualifiers);
          }
          dependencyContainer.add(DependencyIdentifier
                          .getDependencyIdentifierForClass(clazz, qs),
                  new DependencySource(clazz, dependency));
      }
docs: Adds a direct mapping between a type and an object.
  
  @param clazz      Class type which should be injected.
  @param qualifiers Qualifiers to distinguish between similar types.
  @param dependency Dependency reference which should be copied to injection targets.