class CreateSnapshot<T> extends Statement {

    private final QualifiedName name;
    private final GenericProperties<T> properties;
    private final List<Table<T>> tables;

    public CreateSnapshot(QualifiedName name,
                          GenericProperties<T> properties) {
        this.name = name;
        this.properties = properties;
        this.tables = Collections.emptyList();
    }

    public CreateSnapshot(QualifiedName name,
                          List<Table<T>> tables,
                          GenericProperties<T> properties) {
        this.name = name;
        this.tables = tables;
        this.properties = properties;
    }

    public QualifiedName name() {
        return this.name;
    }

    public GenericProperties<T> properties() {
        return properties;
    }

    public List<Table<T>> tables() {
        return tables;
    }

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

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

    @Override
    public String toString() {
        return "CreateSnapshot{" +
               "name=" + name +
               ", properties=" + properties +
               ", tables=" + tables +
               '}';
    }

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

        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        CreateSnapshot<?> that = (CreateSnapshot<?>) o;
        return Objects.equals(name, that.name) &&
               Objects.equals(properties, that.properties) &&
               Objects.equals(tables, that.tables);
    
<methods>public non-sealed void <init>() ,public R accept(AstVisitor<R,C>, C) <variables>