@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof SymbolDependency)) {
            return false;
        }

        SymbolDependency that = (SymbolDependency) o;
        return super.equals(o)
                && dependencyType.equals(that.dependencyType)
                && packageName.equals(that.packageName)
                && version.equals(that.version);
    }
Gets the version string of the dependency.

@return Returns the version.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/SymbolDependency.java