equal
deleted
inserted
replaced
105 // files into unique bits positions: ACC_SYNTHETIC <-> SYNTHETIC, |
105 // files into unique bits positions: ACC_SYNTHETIC <-> SYNTHETIC, |
106 // for example. |
106 // for example. |
107 public static final int ACC_SUPER = 0x0020; |
107 public static final int ACC_SUPER = 0x0020; |
108 public static final int ACC_BRIDGE = 0x0040; |
108 public static final int ACC_BRIDGE = 0x0040; |
109 public static final int ACC_VARARGS = 0x0080; |
109 public static final int ACC_VARARGS = 0x0080; |
|
110 public static final int ACC_MODULE = 0x8000; |
110 |
111 |
111 /***************************************** |
112 /***************************************** |
112 * Internal compiler flags (no bits in the lower 16). |
113 * Internal compiler flags (no bits in the lower 16). |
113 *****************************************/ |
114 *****************************************/ |
114 |
115 |
274 |
275 |
275 /** |
276 /** |
276 * Flag to control recursion in TransTypes |
277 * Flag to control recursion in TransTypes |
277 */ |
278 */ |
278 public static final long TYPE_TRANSLATED = 1L<<50; |
279 public static final long TYPE_TRANSLATED = 1L<<50; |
|
280 |
|
281 /** |
|
282 * Flag to indicate class symbol is for module-info |
|
283 */ |
|
284 public static final long MODULE = 1L<<51; |
|
285 |
|
286 /** |
|
287 * Flag to indicate the given ModuleSymbol is an automatic module. |
|
288 */ |
|
289 public static final long AUTOMATIC_MODULE = 1L<<52; |
|
290 |
|
291 /** |
|
292 * Flag to indicate the given ModuleSymbol is a system module. |
|
293 */ |
|
294 public static final long SYSTEM_MODULE = 1L<<53; |
279 |
295 |
280 /** Modifier masks. |
296 /** Modifier masks. |
281 */ |
297 */ |
282 public static final int |
298 public static final int |
283 AccessFlags = PUBLIC | PROTECTED | PRIVATE, |
299 AccessFlags = PUBLIC | PROTECTED | PRIVATE, |
383 NOT_IN_PROFILE(Flags.NOT_IN_PROFILE), |
399 NOT_IN_PROFILE(Flags.NOT_IN_PROFILE), |
384 BAD_OVERRIDE(Flags.BAD_OVERRIDE), |
400 BAD_OVERRIDE(Flags.BAD_OVERRIDE), |
385 SIGNATURE_POLYMORPHIC(Flags.SIGNATURE_POLYMORPHIC), |
401 SIGNATURE_POLYMORPHIC(Flags.SIGNATURE_POLYMORPHIC), |
386 THROWS(Flags.THROWS), |
402 THROWS(Flags.THROWS), |
387 LAMBDA_METHOD(Flags.LAMBDA_METHOD), |
403 LAMBDA_METHOD(Flags.LAMBDA_METHOD), |
388 TYPE_TRANSLATED(Flags.TYPE_TRANSLATED); |
404 TYPE_TRANSLATED(Flags.TYPE_TRANSLATED), |
|
405 MODULE(Flags.MODULE); |
389 |
406 |
390 Flag(long flag) { |
407 Flag(long flag) { |
391 this.value = flag; |
408 this.value = flag; |
392 this.lowercaseName = StringUtils.toLowerCase(name()); |
409 this.lowercaseName = StringUtils.toLowerCase(name()); |
393 } |
410 } |