class IndexedSymlink {

    private final String absolute;
    private final String canonical;
    private final boolean isLocal;

    private final String canonicalSeparated;

    /**
     * Initializes an instance with the required arguments.
     * @param absolute a defined instance
     * @param canonical a defined instance
     * @param isLocal a value indicating if the symlink was local to a project.
     */
    IndexedSymlink(String absolute, String canonical, boolean isLocal) {
        if (absolute == null) {
            throw new IllegalArgumentException("absolute is null");
        }
        if (canonical == null) {
            throw new IllegalArgumentException("canonical is null");
        }
        this.absolute = absolute;
        this.canonical = canonical;
        this.isLocal = isLocal;
        this.canonicalSeparated = canonical + File.separator;
    }

    public String getAbsolute() {
        return absolute;
    }

    public String getCanonical() {
        return canonical;
    }

    public boolean isLocal() {
        return isLocal;
    }

    /**
     * Gets the value of {@link #getCanonical()} with a {@link File#separator}
     * appended.
     * @return a defined instance
     */
    public String getCanonicalSeparated() {
        return canonicalSeparated;
    }

    /**
     * Compares {@link #getAbsolute()}, {@link #getCanonical()}, and
     * {@link #isLocal()} to determine equality. (Generated by IntelliJ.)
     */
    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        IndexedSymlink that = (IndexedSymlink) o;

        if (isLocal != that.isLocal) {
            return false;
        }
        if (!absolute.equals(that.absolute)) {
            return false;
        }
        return canonical.equals(that.canonical);
    }

    /**
     * Gets a hashcode derived from {@link #getAbsolute()},
     * {@link #getCanonical()}, and {@link #isLocal()}. (Generated by IntelliJ.)
     */
    @Override
    public int hashCode() {<FILL_FUNCTION_BODY>}
}

        int result = absolute.hashCode();
        result = 31 * result + canonical.hashCode();
        result = 31 * result + (isLocal ? 1 : 0);
        return result;
    
<no_super_class>