/**
* Get the variables from outside (parameters, globals ...)
- * @return the variables from outside
*/
- public List getOutsideVariable() {
- return new ArrayList(1);
+ public void getOutsideVariable(final List list) {
}
/**
* get the modified variables.
- * @return the variables from we change value
*/
- public List getModifiedVariable() {
- final ArrayList list = new ArrayList();
+ public void getModifiedVariable(final List list) {
for (int i = 0; i < vars.length; i++) {
if (vars[i] != null) {
- list.addAll(vars[i].getModifiedVariable());
+ vars[i].getModifiedVariable(list);
}
}
- return list;
}
/**
* Get the variables used.
- * @return the variables used
*/
- public List getUsedVariable() {
- final ArrayList list = new ArrayList();
+ public void getUsedVariable(final List list) {
for (int i = 0; i < vars.length; i++) {
if (vars[i] != null) {
- list.addAll(vars[i].getUsedVariable());
+ vars[i].getUsedVariable(list);
}
}
- return list;
}
}