Enum Class Modifier

java.lang.Object
java.lang.Enum<Modifier>
javax.lang.model.element.Modifier
All Implemented Interfaces:
Serializable, Comparable<Modifier>, Constable

public enum Modifier extends Enum<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.

See Java Language Specification:
8.1.1 Class Modifiers
8.3.1 Field Modifiers
8.4.3 Method Modifiers
8.8.3 Constructor Modifiers
9.1.1 Interface Modifiers
Since:
1.6