package net.sourceforge.phpdt.internal.compiler.ast;
import java.util.List;
-import java.util.ArrayList;
/**
* Here is the Superclass of the Literal expressions.
* @param sourceStart starting offset
* @param sourceEnd ending offset
*/
- public Literal(final int sourceStart, final int sourceEnd) {
+ protected Literal(final int sourceStart, final int sourceEnd) {
super(sourceStart, sourceEnd);
}
/**
* Get the variables from outside (parameters, globals ...)
- * @return an empty list
+ *
+ * @param list the list where we will put variables
*/
- public List getOutsideVariable() {
- return new ArrayList(1);
- }
+ public final void getOutsideVariable(final List list) {}
/**
* get the modified variables.
- * @return an empty list
+ *
+ * @param list the list where we will put variables
*/
- public List getModifiedVariable() {
- return new ArrayList(1);
- }
+ public final void getModifiedVariable(final List list) {}
/**
* Get the variables used.
- * @return an empty list
+ *
+ * @param list the list where we will put variables
*/
- public List getUsedVariable() {
- return new ArrayList(1);
- }
+ public void getUsedVariable(final List list) {}
}