code: public static List<DbDependency> getAllDbDependencies(final DbModule module) {
          final List<DbDependency> dependencies = new ArrayList<DbDependency>();
          dependencies.addAll(module.getDependencies());
  
          for(final DbModule submodule: module.getSubmodules()){
              dependencies.addAll(getAllDbDependencies(submodule));
          }
  
          return dependencies;
      }
docs: Return a list of all the dependencies contained into the module (an its submodules)
  
  @param module
  @return List<DbDependency>