javax.lang.model.element
public enum class: Modifier [javadoc |
source]
java.lang.Enum
javax.lang.model.element.Modifier
Represents a modifier on a program element such
as a class, method, or field.
Not all modifiers are applicable to all kinds of elements.
When two or more modifiers appear in the source code of an element
then it is customary, though not required, that they appear in the same
order as the constants listed in the detail section below.
Note that it is possible additional modifiers will be added in
future versions of the platform.
- author:
Joseph
- D. Darcy
- author:
Scott
- Seligman
- author:
Peter
- von der Ahé
- since:
1.6
-
Field Summary |
---|
public Modifier | PUBLIC | The modifier {@code public} |
public Modifier | PROTECTED | The modifier {@code protected} |
public Modifier | PRIVATE | The modifier {@code private} |
public Modifier | ABSTRACT | The modifier {@code abstract} |
public Modifier | STATIC | The modifier {@code static} |
public Modifier | FINAL | The modifier {@code final} |
public Modifier | TRANSIENT | The modifier {@code transient} |
public Modifier | VOLATILE | The modifier {@code volatile} |
public Modifier | SYNCHRONIZED | The modifier {@code synchronized} |
public Modifier | NATIVE | The modifier {@code native} |
public Modifier | STRICTFP | The modifier {@code strictfp} |
Method from javax.lang.model.element.Modifier Summary: |
---|
toString |
Method from javax.lang.model.element.Modifier Detail: |
public String toString() {
if (lowercase == null) {
lowercase = name().toLowerCase(java.util.Locale.US);
}
return lowercase;
}
Returns this modifier's name in lowercase. |