X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/GlobalStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/GlobalStatement.java index 8dce333..3e97fb4 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/GlobalStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/GlobalStatement.java @@ -16,14 +16,14 @@ import test.PHPParserSuperclass; * A GlobalStatement statement in php. * @author Matthieu Casanova */ -public class GlobalStatement extends Statement implements Outlineable { +public final class GlobalStatement extends Statement implements Outlineable { /** An array of the variables called by this global statement. */ - public AbstractVariable[] variables; + private final AbstractVariable[] variables; - private Object parent; + private final Object parent; - private Position position; + private final Position position; public GlobalStatement(final Object parent, final AbstractVariable[] variables, @@ -68,6 +68,8 @@ public class GlobalStatement extends Statement implements Outlineable { /** * Get the variables from outside (parameters, globals ...) + * + * @param list the list where we will put variables */ public void getOutsideVariable(final List list) { for (int i = 0; i < variables.length; i++) { @@ -77,15 +79,17 @@ public class GlobalStatement extends Statement implements Outlineable { /** * get the modified variables. + * + * @param list the list where we will put variables */ - public void getModifiedVariable(final List list) { - } + public void getModifiedVariable(final List list) {} /** * Get the variables used. + * + * @param list the list where we will put variables */ - public void getUsedVariable(final List list) { - } + public void getUsedVariable(final List list) {} /** * We will analyse the code.