Both the language model API and javadoc need to know the normalized set of modifiers defined on an element, taking the element kind into account to resolve overloaded modifier bits, and filtering out bits that are not normally display, such as "public abstract" on interface methods, and so on.
- relates to
-
JDK-8004979 java.lang.reflect.Modifier.toString should include "default"
- Closed
-
JDK-6469561 javadoc for annotation types should not display "public abstract" modifiers on methods
- Closed