src/share/classes/com/sun/tools/javac/code/Flags.java

Print this page

        

*** 72,81 **** --- 72,82 ---- if ((mask&BRIDGE) != 0) flags.add(Flag.BRIDGE); if ((mask&SYNTHETIC) != 0) flags.add(Flag.SYNTHETIC); if ((mask&DEPRECATED) != 0) flags.add(Flag.DEPRECATED); if ((mask&HASINIT) != 0) flags.add(Flag.HASINIT); if ((mask&ENUM) != 0) flags.add(Flag.ENUM); + if ((mask&MANDATED) != 0) flags.add(Flag.MANDATED); if ((mask&IPROXY) != 0) flags.add(Flag.IPROXY); if ((mask&NOOUTERTHIS) != 0) flags.add(Flag.NOOUTERTHIS); if ((mask&EXISTS) != 0) flags.add(Flag.EXISTS); if ((mask&COMPOUND) != 0) flags.add(Flag.COMPOUND); if ((mask&CLASS_SEEN) != 0) flags.add(Flag.CLASS_SEEN);
*** 112,121 **** --- 113,125 ---- /** An enumeration type or an enumeration constant, added in * classfile v49.0. */ public static final int ENUM = 1<<14; + /** Added in SE8, represents constructs implicitly declared in source. */ + public static final int MANDATED = 1<<15; + public static final int StandardFlags = 0x0fff; public static final int ModifierFlags = StandardFlags & ~INTERFACE; // Because the following access flags are overloaded with other // bit positions, we translate them when reading and writing class
*** 340,349 **** --- 344,354 ---- BRIDGE("bridge"), SYNTHETIC("synthetic"), DEPRECATED("deprecated"), HASINIT("hasinit"), ENUM("enum"), + MANDATED("mandated"), IPROXY("iproxy"), NOOUTERTHIS("noouterthis"), EXISTS("exists"), COMPOUND("compound"), CLASS_SEEN("class_seen"),