package net.sourceforge.phpdt.internal.compiler.ast;
-import test.Token;
-
import java.util.List;
-import java.util.ArrayList;
+
+import test.Token;
/**
* @author Matthieu Casanova
*/
-public class ConstantIdentifier extends Expression {
+public final class ConstantIdentifier extends Expression {
- public String name;
+ private final String name;
public ConstantIdentifier(final String name,
final int sourceStart,
return name;
}
- /**
+ /**
* Get the variables from outside (parameters, globals ...)
- * @return the variables from outside
+ *
+ * @param list the list where we will put variables
*/
- public List getOutsideVariable() {
- return new ArrayList(1);
- }
+ public void getOutsideVariable(final List list) {}
/**
* get the modified variables.
- * @return the variables from we change value
+ *
+ * @param list the list where we will put variables
*/
- public List getModifiedVariable() {
- return new ArrayList(1);
- }
+ public void getModifiedVariable(final List list) {}
/**
* Get the variables used.
- * @return the variables used
+ *
+ * @param list the list where we will put variables
*/
- public List getUsedVariable() {
- return new ArrayList(1);
- }
+ public void getUsedVariable(final List list) {}
}