drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java
protected String stripObjMetadata(String text) {
        if (text.startsWith("[")) {
            return text.substring(text.lastIndexOf("]") + 1);
        } else {
            return text;
        }
    }
protected String stripObjMetadata(String text) {
        if (text.startsWith("[")) {
            return text.substring(text.lastIndexOf("]") + 1);
        } else {
            return text;
        }
    }
protected String stripObjMetadata ( String text ) { if ( text . startsWith ( "[" ) ) { return text . substring ( text . lastIndexOf ( "]" ) + 1 ) ; } else { return text ; } }
method will strip the metadata from the text string
@param text
@return
method will strip the metadata from the text string