< prev index next >

src/java.base/share/classes/jdk/internal/org/objectweb/asm/Opcodes.java

Print this page

318     /**
319       * Version flag indicating that the class is using 'preview' features.
320       *
321       * <p>{@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code
322       * V_PREVIEW}.
323       */
324     int V_PREVIEW = 0xFFFF0000;
325 
326     // Access flags values, defined in
327     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1
328     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.5-200-A.1
329     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6-200-A.1
330     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.25
331 
332     int ACC_PUBLIC = 0x0001; // class, field, method
333     int ACC_PRIVATE = 0x0002; // class, field, method
334     int ACC_PROTECTED = 0x0004; // class, field, method
335     int ACC_STATIC = 0x0008; // field, method
336     int ACC_FINAL = 0x0010; // class, field, method, parameter
337     int ACC_SUPER = 0x0020; // class

338     int ACC_SYNCHRONIZED = 0x0020; // method
339     int ACC_OPEN = 0x0020; // module
340     int ACC_TRANSITIVE = 0x0020; // module requires
341     int ACC_VOLATILE = 0x0040; // field
342     int ACC_BRIDGE = 0x0040; // method
343     int ACC_STATIC_PHASE = 0x0040; // module requires
344     int ACC_VARARGS = 0x0080; // method
345     int ACC_TRANSIENT = 0x0080; // field
346     int ACC_NATIVE = 0x0100; // method
347     int ACC_INTERFACE = 0x0200; // class
348     int ACC_ABSTRACT = 0x0400; // class, method
349     int ACC_STRICT = 0x0800; // method
350     int ACC_SYNTHETIC = 0x1000; // class, field, method, parameter, module *
351     int ACC_ANNOTATION = 0x2000; // class
352     int ACC_ENUM = 0x4000; // class(?) field inner
353     int ACC_MANDATED = 0x8000; // field, method, parameter, module, module *
354     int ACC_MODULE = 0x8000; // class
355 
356     // ASM specific access flags.
357     // WARNING: the 16 least significant bits must NOT be used, to avoid conflicts with standard

318     /**
319       * Version flag indicating that the class is using 'preview' features.
320       *
321       * <p>{@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code
322       * V_PREVIEW}.
323       */
324     int V_PREVIEW = 0xFFFF0000;
325 
326     // Access flags values, defined in
327     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1
328     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.5-200-A.1
329     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6-200-A.1
330     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.25
331 
332     int ACC_PUBLIC = 0x0001; // class, field, method
333     int ACC_PRIVATE = 0x0002; // class, field, method
334     int ACC_PROTECTED = 0x0004; // class, field, method
335     int ACC_STATIC = 0x0008; // field, method
336     int ACC_FINAL = 0x0010; // class, field, method, parameter
337     int ACC_SUPER = 0x0020; // class
338     int ACC_IDENTITY = 0x0020; // class
339     int ACC_SYNCHRONIZED = 0x0020; // method
340     int ACC_OPEN = 0x0020; // module
341     int ACC_TRANSITIVE = 0x0020; // module requires
342     int ACC_VOLATILE = 0x0040; // field
343     int ACC_BRIDGE = 0x0040; // method
344     int ACC_STATIC_PHASE = 0x0040; // module requires
345     int ACC_VARARGS = 0x0080; // method
346     int ACC_TRANSIENT = 0x0080; // field
347     int ACC_NATIVE = 0x0100; // method
348     int ACC_INTERFACE = 0x0200; // class
349     int ACC_ABSTRACT = 0x0400; // class, method
350     int ACC_STRICT = 0x0800; // method
351     int ACC_SYNTHETIC = 0x1000; // class, field, method, parameter, module *
352     int ACC_ANNOTATION = 0x2000; // class
353     int ACC_ENUM = 0x4000; // class(?) field inner
354     int ACC_MANDATED = 0x8000; // field, method, parameter, module, module *
355     int ACC_MODULE = 0x8000; // class
356 
357     // ASM specific access flags.
358     // WARNING: the 16 least significant bits must NOT be used, to avoid conflicts with standard
< prev index next >