class Value {
    private ResolvedType type;
    private String name;

    public Value(ResolvedType type, String name) {
        this.type = type;
        this.name = name;
    }

    /**
     * Create a Value from a ValueDeclaration.
     */
    public static Value from(ResolvedValueDeclaration decl) {
        ResolvedType type = decl.getType();
        return new Value(type, decl.getName());
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}

    public String getName() {
        return name;
    }

    public ResolvedType getType() {
        return type;
    }

}

        return "Value{" +
                "type=" + type +
                ", name='" + name + '\'' +
                '}';
    
<no_super_class>