package net.sourceforge.phpdt.internal.compiler.ast;
+import java.util.List;
+
import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
import net.sourceforge.phpdt.internal.ui.PHPUiImages;
+
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.text.Position;
-import java.util.List;
-import java.util.ArrayList;
-
/**
* A Field declaration.
* This is a variable declaration for a php class
* In fact it's an array of VariableUsage, since a field could contains
- * several vars :
+ * several var :
* var $toto,$tata;
* @author Matthieu Casanova
*/
private Object parent;
private Position position;
+
/**
* Create a new field.
* @param vars the array of variables.
* @return the image that represents a php variable
*/
public ImageDescriptor getImage() {
- return PHPUiImages.DESC_VAR;
+ return PHPUiImages.DESC_VAR;
}
public Object getParent() {
return position;
}
- /**
+ /**
* 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() {
- return new ArrayList();
+ public void getModifiedVariable(final List list) {
}
/**
* Get the variables used.
- * @return the variables used
*/
- public List getUsedVariable() {
- return new ArrayList();
+ public void getUsedVariable(final List list) {
}
}