< prev index next >

src/java.base/share/classes/java/lang/reflect/Modifier.java

Print this page

        

*** 332,347 **** // Bits not (yet) exposed in the public API either because they // have different meanings for fields and methods and there is no // way to distinguish between the two in this class, or because // they are not Java programming language keywords ! static final int BRIDGE = 0x00000040; ! static final int VARARGS = 0x00000080; ! static final int SYNTHETIC = 0x00001000; static final int ANNOTATION = 0x00002000; ! static final int ENUM = 0x00004000; ! static final int MANDATED = 0x00008000; static boolean isSynthetic(int mod) { return (mod & SYNTHETIC) != 0; } static boolean isMandated(int mod) { --- 332,348 ---- // Bits not (yet) exposed in the public API either because they // have different meanings for fields and methods and there is no // way to distinguish between the two in this class, or because // they are not Java programming language keywords ! static final int BRIDGE = 0x00000040; ! static final int VARARGS = 0x00000080; ! static final int SYNTHETIC = 0x00001000; static final int ANNOTATION = 0x00002000; ! static final int ENUM = 0x00004000; ! static final int MANDATED = 0x00008000; ! static final int FLATTENED = 0x00008000; // HotSpot-specific bit static boolean isSynthetic(int mod) { return (mod & SYNTHETIC) != 0; } static boolean isMandated(int mod) {
< prev index next >