code: public void addDependency(final Dependency dependency) {
          if(dependency != null && !dependencies.contains(dependency)){
              this.dependencies.add(dependency);
          }
      }
docs: Add a dependency to the module.
  
  @param dependency Dependency