-
Bug
-
Resolution: Unresolved
-
P3
-
6
-
generic
-
generic
One way to implement enum-constant specific behavior is to have the enum class declare an abstract method and then to have each specialized enum constant override the class (specialized enum constants are implemented as anonymous subclasses of the enum class). Although the method is declared abstract in the enum, it is effectively not abstract since javac ensures that each enum constant provides a concrete implementation of the method. Therefore, in this situation the generated javadoc should not list the "abstract" modifier on the method.
###@###.### 2005-06-17 23:29:29 GMT
###@###.### 2005-06-17 23:29:29 GMT
- relates to
-
JDK-5009943 Javadoc generated for enums could be misleading
-
- Resolved
-
-
JDK-5035528 JavaDoc for enum classes should omit final and abstract modifiers
-
- Closed
-