As of Java 5, enum is a keyword and can therefore no longer be used a variable names for instance.
Recent versions of the Java compiler will generate errors while compiling code still using enum as a name.
The following code snippet illustrates this rule:
public void doSomething() {
int enum = 42; // Non-Compliant
}