Why does it have a parameter, while in the other file you do `public enum nodeTypes implements NodeType { ...`?