Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Define.java
index 68f96df..9669c82 100644 (file)
@@ -1,13 +1,13 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
-import org.eclipse.jface.text.Position;
-import org.eclipse.jface.resource.ImageDescriptor;
-import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
+import java.util.List;
+
 import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage;
+import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
 import net.sourceforge.phpdt.internal.ui.PHPUiImages;
 
-import java.util.List;
-import java.util.ArrayList;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.text.Position;
 
 /**
  * a Define.
@@ -64,27 +64,20 @@ public class Define extends Statement implements Outlineable {
 
   /**
    * Get the variables from outside (parameters, globals ...)
-   * @return the variables from outside
    */
-  public List getOutsideVariable() {
-    final ArrayList list = new ArrayList(1);
+  public void getOutsideVariable(final List list) {
     list.add(new VariableUsage(defineName.toStringExpression(),sourceStart));//todo: someday : evaluate the defineName
-    return list;
   }
 
   /**
    * get the modified variables.
-   * @return the variables modified
    */
-  public List getModifiedVariable() {
-    return new ArrayList(1);
+  public void getModifiedVariable(final List list) {
   }
 
   /**
    * Get the variables used.
-   * @return the variables used
    */
-  public List getUsedVariable() {
-    return new ArrayList(1);
+  public void getUsedVariable(final List list) {
   }
 }