Summary
An Operation cannot belong to an Enumeration.
Details
An Enumeration can only contain enumeration literals.
Tips
-
Move the Operation to a service class.
-
If you are developing with Java 1.5 or later, you can disable this rule.
-
The Java Designer module currently reverses enumeration operations in a specific note.