public List<SymbolDependency> getByType(String dependencyType) {
        List<SymbolDependency> result = new ArrayList<>();
        for (SymbolDependency dependency : dependencies) {
            if (dependency.getDependencyType().equals(dependencyType)) {
                result.add(dependency);
            }
        }
        return result;
    }
Gets a list of matching dependencies that have a dependency type
matching {@code dependencyType}.

@param dependencyType Dependency type to find.
@return Returns the matching dependencies.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/DependencyTracker.java