* It will contains html and php
* @author Matthieu Casanova
*/
-public class PHPDocument implements OutlineableWithChildren {
+public final class PHPDocument implements OutlineableWithChildren {
/**
* The nodes.
*/
public AstNode[] nodes;
- public char[] name;
+ private final char[] name;
/** The parent of the object. */
- public Object parent;
+ private final Object parent;
/** The outlineable children (those will be in the node array too. */
- private ArrayList children = new ArrayList();
+ private final ArrayList children = new ArrayList();
- private Position position;
+ private final Position position;
/**
* Create the PHPDocument.
* @param parent the parent object (it should be null isn't it ?)