1 *java.lang.reflect.Modifier* *Modifier* The Modifier class provides static metho
4 extends |java.lang.Object|
6 |java.lang.reflect.Modifier_Description|
7 |java.lang.reflect.Modifier_Fields|
8 |java.lang.reflect.Modifier_Constructors|
9 |java.lang.reflect.Modifier_Methods|
11 ================================================================================
13 *java.lang.reflect.Modifier_Fields*
14 |int_java.lang.reflect.Modifier.ABSTRACT|
15 |int_java.lang.reflect.Modifier.FINAL|
16 |int_java.lang.reflect.Modifier.INTERFACE|
17 |int_java.lang.reflect.Modifier.NATIVE|
18 |int_java.lang.reflect.Modifier.PRIVATE|
19 |int_java.lang.reflect.Modifier.PROTECTED|
20 |int_java.lang.reflect.Modifier.PUBLIC|
21 |int_java.lang.reflect.Modifier.STATIC|
22 |int_java.lang.reflect.Modifier.STRICT|
23 |int_java.lang.reflect.Modifier.SYNCHRONIZED|
24 |int_java.lang.reflect.Modifier.TRANSIENT|
25 |int_java.lang.reflect.Modifier.VOLATILE|
27 *java.lang.reflect.Modifier_Constructors*
28 |java.lang.reflect.Modifier()|
30 *java.lang.reflect.Modifier_Methods*
31 |java.lang.reflect.Modifier.isAbstract(int)|Return true if the integer argument
32 |java.lang.reflect.Modifier.isFinal(int)|Return true if the integer argument in
33 |java.lang.reflect.Modifier.isInterface(int)|Return true if the integer argumen
34 |java.lang.reflect.Modifier.isNative(int)|Return true if the integer argument i
35 |java.lang.reflect.Modifier.isPrivate(int)|Return true if the integer argument
36 |java.lang.reflect.Modifier.isProtected(int)|Return true if the integer argumen
37 |java.lang.reflect.Modifier.isPublic(int)|Return true if the integer argument i
38 |java.lang.reflect.Modifier.isStatic(int)|Return true if the integer argument i
39 |java.lang.reflect.Modifier.isStrict(int)|Return true if the integer argument i
40 |java.lang.reflect.Modifier.isSynchronized(int)|Return true if the integer argu
41 |java.lang.reflect.Modifier.isTransient(int)|Return true if the integer argumen
42 |java.lang.reflect.Modifier.isVolatile(int)|Return true if the integer argument
43 |java.lang.reflect.Modifier.toString(int)|Return a string describing the access
45 *java.lang.reflect.Modifier_Description*
47 The Modifier class provides static methods and constants to decode class and
48 member access modifiers. The sets of modifiers are represented as integers with
49 distinct bit positions representing different modifiers. The values for the
50 constants representing the modifiers are taken from The JavaTM Virtual Machine
51 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
54 *int_java.lang.reflect.Modifier.ABSTRACT*
56 The Modifier class provides static methods and constants to decode class and
57 member access modifiers. The sets of modifiers are represented as integers with
58 distinct bit positions representing different modifiers. The values for the
59 constants representing the modifiers are taken from The JavaTM Virtual Machine
60 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
63 *int_java.lang.reflect.Modifier.FINAL*
65 The Modifier class provides static methods and constants to decode class and
66 member access modifiers. The sets of modifiers are represented as integers with
67 distinct bit positions representing different modifiers. The values for the
68 constants representing the modifiers are taken from The JavaTM Virtual Machine
69 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
72 *int_java.lang.reflect.Modifier.INTERFACE*
74 The Modifier class provides static methods and constants to decode class and
75 member access modifiers. The sets of modifiers are represented as integers with
76 distinct bit positions representing different modifiers. The values for the
77 constants representing the modifiers are taken from The JavaTM Virtual Machine
78 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
81 *int_java.lang.reflect.Modifier.NATIVE*
83 The Modifier class provides static methods and constants to decode class and
84 member access modifiers. The sets of modifiers are represented as integers with
85 distinct bit positions representing different modifiers. The values for the
86 constants representing the modifiers are taken from The JavaTM Virtual Machine
87 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
90 *int_java.lang.reflect.Modifier.PRIVATE*
92 The Modifier class provides static methods and constants to decode class and
93 member access modifiers. The sets of modifiers are represented as integers with
94 distinct bit positions representing different modifiers. The values for the
95 constants representing the modifiers are taken from The JavaTM Virtual Machine
96 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
99 *int_java.lang.reflect.Modifier.PROTECTED*
101 The Modifier class provides static methods and constants to decode class and
102 member access modifiers. The sets of modifiers are represented as integers with
103 distinct bit positions representing different modifiers. The values for the
104 constants representing the modifiers are taken from The JavaTM Virtual Machine
105 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
108 *int_java.lang.reflect.Modifier.PUBLIC*
110 The Modifier class provides static methods and constants to decode class and
111 member access modifiers. The sets of modifiers are represented as integers with
112 distinct bit positions representing different modifiers. The values for the
113 constants representing the modifiers are taken from The JavaTM Virtual Machine
114 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
117 *int_java.lang.reflect.Modifier.STATIC*
119 The Modifier class provides static methods and constants to decode class and
120 member access modifiers. The sets of modifiers are represented as integers with
121 distinct bit positions representing different modifiers. The values for the
122 constants representing the modifiers are taken from The JavaTM Virtual Machine
123 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
126 *int_java.lang.reflect.Modifier.STRICT*
128 The Modifier class provides static methods and constants to decode class and
129 member access modifiers. The sets of modifiers are represented as integers with
130 distinct bit positions representing different modifiers. The values for the
131 constants representing the modifiers are taken from The JavaTM Virtual Machine
132 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
135 *int_java.lang.reflect.Modifier.SYNCHRONIZED*
137 The Modifier class provides static methods and constants to decode class and
138 member access modifiers. The sets of modifiers are represented as integers with
139 distinct bit positions representing different modifiers. The values for the
140 constants representing the modifiers are taken from The JavaTM Virtual Machine
141 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
144 *int_java.lang.reflect.Modifier.TRANSIENT*
146 The Modifier class provides static methods and constants to decode class and
147 member access modifiers. The sets of modifiers are represented as integers with
148 distinct bit positions representing different modifiers. The values for the
149 constants representing the modifiers are taken from The JavaTM Virtual Machine
150 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
153 *int_java.lang.reflect.Modifier.VOLATILE*
155 The Modifier class provides static methods and constants to decode class and
156 member access modifiers. The sets of modifiers are represented as integers with
157 distinct bit positions representing different modifiers. The values for the
158 constants representing the modifiers are taken from The JavaTM Virtual Machine
159 Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
163 *java.lang.reflect.Modifier()*
170 *java.lang.reflect.Modifier.isAbstract(int)*
172 public static boolean isAbstract(int mod)
174 Return true if the integer argument includes the abstract modifier, false
177 mod - a set of modifiers
179 Returns: true if mod includes the abstract modifier; false otherwise.
180 *java.lang.reflect.Modifier.isFinal(int)*
182 public static boolean isFinal(int mod)
184 Return true if the integer argument includes the final modifier, false
187 mod - a set of modifiers
189 Returns: true if mod includes the final modifier; false otherwise.
190 *java.lang.reflect.Modifier.isInterface(int)*
192 public static boolean isInterface(int mod)
194 Return true if the integer argument includes the interface modifier, false
197 mod - a set of modifiers
199 Returns: true if mod includes the interface modifier; false otherwise.
200 *java.lang.reflect.Modifier.isNative(int)*
202 public static boolean isNative(int mod)
204 Return true if the integer argument includes the native modifier, false
207 mod - a set of modifiers
209 Returns: true if mod includes the native modifier; false otherwise.
210 *java.lang.reflect.Modifier.isPrivate(int)*
212 public static boolean isPrivate(int mod)
214 Return true if the integer argument includes the private modifier, false
217 mod - a set of modifiers
219 Returns: true if mod includes the private modifier; false otherwise.
220 *java.lang.reflect.Modifier.isProtected(int)*
222 public static boolean isProtected(int mod)
224 Return true if the integer argument includes the protected modifier, false
227 mod - a set of modifiers
229 Returns: true if mod includes the protected modifier; false otherwise.
230 *java.lang.reflect.Modifier.isPublic(int)*
232 public static boolean isPublic(int mod)
234 Return true if the integer argument includes the public modifier, false
237 mod - a set of modifiers
239 Returns: true if mod includes the public modifier; false otherwise.
240 *java.lang.reflect.Modifier.isStatic(int)*
242 public static boolean isStatic(int mod)
244 Return true if the integer argument includes the static modifier, false
247 mod - a set of modifiers
249 Returns: true if mod includes the static modifier; false otherwise.
250 *java.lang.reflect.Modifier.isStrict(int)*
252 public static boolean isStrict(int mod)
254 Return true if the integer argument includes the strictfp modifier, false
257 mod - a set of modifiers
259 Returns: true if mod includes the strictfp modifier; false otherwise.
260 *java.lang.reflect.Modifier.isSynchronized(int)*
262 public static boolean isSynchronized(int mod)
264 Return true if the integer argument includes the synchronized modifier, false
267 mod - a set of modifiers
269 Returns: true if mod includes the synchronized modifier; false otherwise.
270 *java.lang.reflect.Modifier.isTransient(int)*
272 public static boolean isTransient(int mod)
274 Return true if the integer argument includes the transient modifier, false
277 mod - a set of modifiers
279 Returns: true if mod includes the transient modifier; false otherwise.
280 *java.lang.reflect.Modifier.isVolatile(int)*
282 public static boolean isVolatile(int mod)
284 Return true if the integer argument includes the volatile modifier, false
287 mod - a set of modifiers
289 Returns: true if mod includes the volatile modifier; false otherwise.
290 *java.lang.reflect.Modifier.toString(int)*
292 public static |java.lang.String| toString(int mod)
294 Return a string describing the access modifier flags in the specified modifier.
297 public final synchronized strictfp
299 The modifier names are returned in an order consistent with the suggested
300 modifier orderings given in The Java Language Specification, Second Edition
301 sections 8.1.1, 8.3.1, 8.4.3, 8.8.3, and 9.1.1. The full modifier ordering used
304 public protected private abstract static final transient volatile synchronized
305 native strictfp interface The interface modifier discussed in this class is not
306 a true modifier in the Java language and it appears after all other modifiers
307 listed by this method. This method may return a string of modifiers that are
308 not valid modifiers of a Java entity; in other words, no checking is done on
309 the possible validity of the combination of modifiers represented by the input.
311 mod - a set of modifiers
313 Returns: a string representation of the set of modifiers represented by mod