drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java
public ArrayList<String> getConditionChildrenList(String text, boolean addChildren) {
        Node[] c = getConditionChildren(text);
        this.suggestions.clear();
        for (int idx=0; idx < c.length; idx++) {
            this.suggestions.add(c[idx].getToken());
            if (addChildren) {
                this.addChildToList(c[idx], c[idx].getToken(), this.suggestions);
            }
        }
        return this.suggestions;
    }
public ArrayList<String> getConditionChildrenList(String text, boolean addChildren) {
        Node[] c = getConditionChildren(text);
        this.suggestions.clear();
        for (int idx=0; idx < c.length; idx++) {
            this.suggestions.add(c[idx].getToken());
            if (addChildren) {
                this.addChildToList(c[idx], c[idx].getToken(), this.suggestions);
            }
        }
        return this.suggestions;
    }
for convienance, the method will return a list of strings
that are children of the last node found. If the editor
wants to generate the children strings, call the method
with true
@param text
@return