public Set<String> requestNewStrings(@NotNull String sql, boolean simpleMode) throws DBException {
        var r = this.requestNewInternal(sql, simpleMode);
        return r.getSecond().stream().map(p -> {
            try {
                if (p.getReplacementLength() > 0) {
                    String originalString = r.getFirst().getDocument().get(p.getReplacementOffset(), p.getReplacementLength());
                    String replacementFragment = p.getReplacementString().substring(0, originalString.length());
                    if (originalString.equals(replacementFragment) && replacementFragment.endsWith(".")) {
                        return p.getReplacementString().substring(replacementFragment.length());
                    } else {
                        return p.getReplacementString();
                    }
                } else {
                    return p.getReplacementString();
                }
            } catch (BadLocationException e) {
                throw new RuntimeException(e);
            }
        }).collect(Collectors.toSet());
    }
Returns the list of proposals that semantic autocompletion engine returns for the provided text
test/org.jkiss.dbeaver.test.platform/src/org/jkiss/dbeaver/model/sql/analyzer/builder/request/RequestResult.java