protected void getAllNamesAux( List<String> list ) { super.getAllNamesAux( list ); }
/** Implements NameSource @return all variable and method names in this and all parent namespaces */ public String [] getAllNames() { List<String> list = new ArrayList<String>(); getAllNamesAux( list ); return list.toArray(new String[0]); }
/** Implements NameSource. * @return all variable and method names in this and all parent * namespaces */ public String[] getAllNames() { final List<String> vec = new ArrayList<String>(); this.getAllNamesAux(vec); return vec.toArray(new String[vec.size()]); }
/** Helper for implementing NameSource. * @param vec the vec */ protected void getAllNamesAux(final List<String> vec) { vec.addAll(this.variables.keySet()); if ( methods != null ) vec.addAll(this.methods.keySet()); if (this.parent != null) this.parent.getAllNamesAux(vec); }
/** Helper for implementing NameSource */ protected void getAllNamesAux( List<String> list ) { list.addAll( variables.keySet() ); list.addAll( methods.keySet() ); if ( parent != null ) parent.getAllNamesAux( list ); }