newFields[0] = field;
    public void addField(JFieldDeclaration field) {	// see if we already have <field> in this	for (int i=0; i<fields.length; i++) {	    if (fields[i]==field) {		return;	    }	}	// otherwise, create new fields array	JFieldDeclaration[] newFields = new JFieldDeclaration[fields.length								+ 1];	// copy in new field	newFields[0] = field;	// copy in old fields	for (int i=0; i<fields.length; i++) {	    newFields[i+1] = fields[i];	}	// reset old to new	this.fields = newFields;    }