class ThrowsBound extends Bound {
    private InferenceVariable inferenceVariable;

    public ThrowsBound(InferenceVariable inferenceVariable) {
        this.inferenceVariable = inferenceVariable;
    }

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

    @Override
    public String toString() {
        return "ThrowsBound{" +
                "inferenceVariable=" + inferenceVariable +
                '}';
    }

    @Override
    public int hashCode() {
        return inferenceVariable.hashCode();
    }

    @Override
    public Set<InferenceVariable> usedInferenceVariables() {
        Set<InferenceVariable> variables = new HashSet<>();
        variables.add(inferenceVariable);
        return variables;
    }

    @Override
    public boolean isSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution) {
        throw new UnsupportedOperationException();
    }

    public boolean isThrowsBoundOn(InferenceVariable inferenceVariable) {
        return inferenceVariable.equals(this.inferenceVariable);
    }
}

        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ThrowsBound that = (ThrowsBound) o;

        return inferenceVariable.equals(that.inferenceVariable);
    
<methods>public non-sealed void <init>() ,public boolean isADependency() ,public Optional<com.github.javaparser.symbolsolver.resolution.typeinference.Instantiation> isAnInstantiation() ,public Optional<com.github.javaparser.symbolsolver.resolution.typeinference.ProperLowerBound> isProperLowerBound() ,public Optional<com.github.javaparser.symbolsolver.resolution.typeinference.ProperUpperBound> isProperUpperBound() ,public abstract boolean isSatisfied(com.github.javaparser.symbolsolver.resolution.typeinference.InferenceVariableSubstitution) ,public abstract Set<com.github.javaparser.symbolsolver.resolution.typeinference.InferenceVariable> usedInferenceVariables() <variables>