< prev index next >

src/java.compiler/share/classes/javax/lang/model/element/Modifier.java

Print this page

103      * The modifier {@code sealed}
104      *
105      * @jls 8.1.1.2 {@code sealed}, {@code non-sealed}, and {@code final} Classes
106      * @jls 9.1.1.4 {@code sealed} and {@code non-sealed} Interfaces
107      * @since 17
108      */
109     SEALED,
110 
111     /**
112      * The modifier {@code non-sealed}
113      *
114      * @jls 8.1.1.2 {@code sealed}, {@code non-sealed}, and {@code final} Classes
115      * @jls 9.1.1.4 {@code sealed} and {@code non-sealed} Interfaces
116      * @since 17
117      */
118     NON_SEALED {
119         public String toString() {
120             return "non-sealed";
121         }
122     },






123     /**
124      * The modifier {@code final}
125      *
126      * @jls 8.1.1.2 {@code sealed}, {@code non-sealed}, and {@code final} Classes
127      * @jls 8.3.1.2 {@code final} Fields
128      * @jls 8.4.3.3 {@code final} Methods
129      */
130     FINAL,
131 
132     /**
133      * The modifier {@code transient}
134      *
135      * @jls 8.3.1.3 {@code transient} Fields
136      */
137     TRANSIENT,
138 
139     /**
140      * The modifier {@code volatile}
141      *
142      * @jls 8.3.1.4 {@code volatile} Fields

103      * The modifier {@code sealed}
104      *
105      * @jls 8.1.1.2 {@code sealed}, {@code non-sealed}, and {@code final} Classes
106      * @jls 9.1.1.4 {@code sealed} and {@code non-sealed} Interfaces
107      * @since 17
108      */
109     SEALED,
110 
111     /**
112      * The modifier {@code non-sealed}
113      *
114      * @jls 8.1.1.2 {@code sealed}, {@code non-sealed}, and {@code final} Classes
115      * @jls 9.1.1.4 {@code sealed} and {@code non-sealed} Interfaces
116      * @since 17
117      */
118     NON_SEALED {
119         public String toString() {
120             return "non-sealed";
121         }
122     },
123 
124     /**
125      * The modifier {@code value}
126      * @since 18
127      */
128     VALUE,
129     /**
130      * The modifier {@code final}
131      *
132      * @jls 8.1.1.2 {@code sealed}, {@code non-sealed}, and {@code final} Classes
133      * @jls 8.3.1.2 {@code final} Fields
134      * @jls 8.4.3.3 {@code final} Methods
135      */
136     FINAL,
137 
138     /**
139      * The modifier {@code transient}
140      *
141      * @jls 8.3.1.3 {@code transient} Fields
142      */
143     TRANSIENT,
144 
145     /**
146      * The modifier {@code volatile}
147      *
148      * @jls 8.3.1.4 {@code volatile} Fields
< prev index next >