docs: public Dependency getDependency(final DbDependency dbDependency, final String sourceName, final String sourceVersion) {
          final DbArtifact dbArtifact = repositoryHandler.getArtifact(dbDependency.getTarget());
          final Artifact artifact;
  
          if (dbArtifact == null) {
              artifact = DataUtils.createArtifact(dbDependency.getTarget());
          } else {
              artifact = getArtifact(dbArtifact);
          }
  
          final Dependency dependency = DataModelFactory.createDependency(artifact, dbDependency.getScope());
          dependency.setSourceName(sourceName);
          dependency.setSourceVersion(sourceVersion);
  
          return dependency;
      }