playframework/Play20 — pull request #501 by jroper (2012-10-29 01:54:02+00:00)
Title: Support any Java identifier as a package name

This changes the way the package, class and method is parsed, because since we want to treat package name as a normal Java identifier, and the Scala parser is greedy, the package name parser would consume the class name and method as well. So now we parse them as just a list of strings, ensuring there are a minimum of three, and then extract method/class/package out of that list.

Also, I removed all special handling of fields, since this is no longer required https://github.com/playframework/Play20/pull/481#issuecomment-9439010, and with the new logic it is impossible to distinguish fields from the rest.