class DropRole extends Statement {

    private final String name;
    private final boolean ifExists;

    public DropRole(String name, boolean ifExists) {
        this.name = name;
        this.ifExists = ifExists;
    }

    public String name() {
        return name;
    }

    public boolean ifExists() {
        return ifExists;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        DropRole dropRole = (DropRole) o;
        return ifExists == dropRole.ifExists &&
               Objects.equals(name, dropRole.name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(name, ifExists);
    }

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

    @Override
    public <R, C> R accept(AstVisitor<R, C> visitor, C context) {
        return visitor.visitDropRole(this, context);
    }
}

        return "DropRole{" +
               "name='" + name + '\'' +
               ", ifExists=" + ifExists +
               '}';
    
<methods>public non-sealed void <init>() ,public R accept(AstVisitor<R,C>, C) <variables>