X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/AbstractVariableDeclaration.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/AbstractVariableDeclaration.java index 9fbe9ae..cde0daf 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/AbstractVariableDeclaration.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/AbstractVariableDeclaration.java @@ -1,5 +1,10 @@ package net.sourceforge.phpdt.internal.compiler.ast; +import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage; + +import java.util.List; +import java.util.ArrayList; + /** * An abstract variable declaration. @@ -15,16 +20,10 @@ public abstract class AbstractVariableDeclaration extends Expression { * @param sourceEnd ending offset * @param name the name of the variable */ - public AbstractVariableDeclaration(char[] name, int sourceStart, int sourceEnd) { + public AbstractVariableDeclaration(final char[] name, final int sourceStart, final int sourceEnd) { super(sourceStart, sourceEnd); this.name = name; } - /** - * Get the name of the field as String. - * @return the name of the String - */ - public String name() { - return new String(name); - } + }