public ICompletionProposal[] getProposals(Position position, int length)
    {
        if (resolver != null) {
            resolver.resolve(this, context);
        }
        String[] values = getValues();
        ICompletionProposal[] proposals = new ICompletionProposal[values.length];
        for (int j = 0; j < values.length; j++) {
            proposals[j] = new SQLVariableCompletionProposal(this, values[j], position, length);
        }
        return proposals;
    }
Returns the choices for the set identified by <code>key</code>.

@param key the key
@return the choices for this variable and the given set, or
        <code>null</code> if the set is not defined.
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/templates/SQLVariable.java