Skip to content

JSQLParser 5.1: SelectItem generics question #2196

@davyboyhayes

Description

@davyboyhayes

https://github.com/JSQLParser/JSqlParser/blob/master/src/main/java/net/sf/jsqlparser/statement/select/SelectItem.java#L104-L107

Should withAlias not be:

    public SelectItem<T> withAlias(Alias alias) {
        this.setAlias(alias);
        return this;
    }

rather than return a wildcard generic - ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions