package net.sourceforge.phpdt.internal.compiler.ast;
import java.util.List;
-import java.util.ArrayList;
/**
* An empty statement.
* @author Matthieu Casanova
*/
-public class EmptyStatement extends Statement {
+public final class EmptyStatement extends Statement {
public EmptyStatement(final int sourceStart, final int sourceEnd) {
super(sourceStart, sourceEnd);
}
public String toString(final int tab) {
- return tabString(tab) + ";"; //$NON-NLS-1$
+ return tabString(tab) + ';'; //$NON-NLS-1$
}
/**
* 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();
- }
+ public 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();
- }
+ public 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();
- }
+ public void getUsedVariable(final List list) {}
}