Revert "Fix compilation of Enum on JDK 7"

This reverts commit 39852b52702df2a3e919a1b63e92074b6c28f4c3.
Some changes added to compile and run with Java 6 and Java 7.

* correction of errors with Javac 6;
- fields accessibility of generic class.