X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ClassDeclaration.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ClassDeclaration.java index 9c5bf07..62420f4 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ClassDeclaration.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ClassDeclaration.java @@ -72,7 +72,7 @@ public class ClassDeclaration extends Statement implements OutlineableWithChildr position = new Position(sourceStart, name.length); } - public void add(MethodDeclaration method) { + public void addMethod(MethodDeclaration method) { methods.add(method); add(method); if (method.name.equals(name)) { @@ -80,7 +80,7 @@ public class ClassDeclaration extends Statement implements OutlineableWithChildr } } - public void add(FieldDeclaration var) { + public void addField(FieldDeclaration var) { for (int i = 0; i < var.vars.length; i++) { VariableDeclaration c = var.vars[i]; children.add(c);