public ClassAccess(final Expression prefix,
final Expression suffix,
final int type) {
- super(prefix.getSourceStart(), suffix.getSourceEnd());
+ super(prefix.sourceStart, suffix.sourceEnd);
this.prefix = prefix;
this.suffix = suffix;
this.type = type;
/**
* 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() {
- return new ArrayList(1);
+ public void getModifiedVariable(final List list) {
}
/**
* Get the variables used.
- * @return the variables used
*/
- public List getUsedVariable() {
- final List list = prefix.getUsedVariable();
- list.addAll(suffix.getUsedVariable());
- return list;
+ public void getUsedVariable(final List list) {
+ prefix.getUsedVariable(list);
+ suffix.getUsedVariable(list);
}
}