import org.eclipse.jface.text.Position;
import java.util.ArrayList;
+import java.util.List;
/**
super(sourceStart, sourceEnd);
this.parent = parent;
this.name = name;
+ position = new Position(sourceStart, name.length);
}
public void addMethod(MethodDeclaration method) {
}
public String toString() {
- return toStringHeader();
+ final StringBuffer buff = new StringBuffer(new String(name));//$NON-NLS-1$
+ if (superclass != null) {
+ buff.append(":"); //$NON-NLS-1$
+ buff.append(superclass);
+ }
+ return buff.toString();
}
public Position getPosition() {
return position;
}
+
+ public List getList() {
+ return children;
+ }
}