}
- /**
+ /**
* Get the variables from outside (parameters, globals ...)
- * @return the variables from outside
*/
- public List getOutsideVariable() {
- return new ArrayList();
+ 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();
- list.addAll(variableName.getUsedVariable());
- list.addAll(initializer.getModifiedVariable());
- return list;
+ public void getModifiedVariable(final List list) {
+ variableName.getUsedVariable(list);
+ initializer.getModifiedVariable(list);
}
/**
* Get the variables used.
- * @return the variables used
*/
- public List getUsedVariable() {
- final ArrayList list = new ArrayList();
- list.addAll(initializer.getUsedVariable());
- return list;
+ public void getUsedVariable(final List list) {
+ initializer.getUsedVariable(list);
}
}