/** * This will get a list of all bound variables (LHS and RHS), including bound fields.. */ public List<String> getAllVariables() { List<String> result = new ArrayList<String>(); result.addAll( this.getAllLHSVariables() ); result.addAll( this.getAllRHSVariables() ); return result; }