title: Token Enumeration in Java
body: <p>I'm writing a lexer using jflex for a made up programming language.  It requires an enumeration java class which holds a bunch of tokens for the made up language.  Things like STRING_TKN, ON_TKN, GOTO_TKN, COMMAND_TKN, etc. I haven't used java in a while so I forget how to set these up.</p>
  
  <p>Thanks</p>