class DefaultArtifactCoordinate implements ArtifactCoordinate {
    private final @Nonnull InternalSession session;
    private final @Nonnull org.eclipse.aether.artifact.Artifact coordinate;

    public DefaultArtifactCoordinate(
            @Nonnull InternalSession session, @Nonnull org.eclipse.aether.artifact.Artifact coordinate) {
        this.session = nonNull(session, "session");
        this.coordinate = nonNull(coordinate, "coordinate");
    }

    public org.eclipse.aether.artifact.Artifact getCoordinate() {
        return coordinate;
    }

    @Nonnull
    @Override
    public String getGroupId() {
        return coordinate.getGroupId();
    }

    @Nonnull
    @Override
    public String getArtifactId() {
        return coordinate.getArtifactId();
    }

    @Nonnull
    @Override
    public VersionConstraint getVersion() {
        return session.parseVersionConstraint(coordinate.getVersion());
    }

    @Override
    public String getExtension() {
        return coordinate.getExtension();
    }

    @Nonnull
    @Override
    public String getClassifier() {
        return coordinate.getClassifier();
    }

    @Override
    public boolean equals(Object o) {<FILL_FUNCTION_BODY>}

    @Override
    public int hashCode() {
        return Objects.hash(getGroupId(), getArtifactId(), getVersion(), getClassifier());
    }

    @Override
    public String toString() {
        return coordinate.toString();
    }
}

        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        DefaultArtifactCoordinate that = (DefaultArtifactCoordinate) o;
        return Objects.equals(this.getGroupId(), that.getGroupId())
                && Objects.equals(this.getArtifactId(), that.getArtifactId())
                && Objects.equals(this.getVersion(), that.getVersion())
                && Objects.equals(this.getClassifier(), that.getClassifier());
    
<no_super_class>