We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47cc808 commit 7e862f9Copy full SHA for 7e862f9
src/java.compiler/share/classes/javax/lang/model/element/Modifier.java
@@ -111,7 +111,9 @@ public String toString() {
111
* The modifier name is the {@linkplain #name() name of the enum
112
* constant} in lowercase and with any underscores ("{@code _}")
113
* replaced with hyphens ("{@code -}").
114
+ * @return the modifier's name
115
*/
116
+ @Override
117
public String toString() {
118
return name().toLowerCase(java.util.Locale.US);
119
}
0 commit comments