src/share/classes/java/lang/reflect/Modifier.java
Print this page
*** 338,353 ****
// 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 boolean isSynthetic(int mod) {
return (mod & SYNTHETIC) != 0;
}
/**
* See JLSv3 section 8.1.1.
*/
private static final int CLASS_MODIFIERS =
Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |
--- 338,358 ----
// 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 SYNTHESIZED = 0x00010000;
static boolean isSynthetic(int mod) {
return (mod & SYNTHETIC) != 0;
}
+ static boolean isSynthesized(int mod) {
+ return (mod & SYNTHESIZED) != 0;
+ }
+
/**
* See JLSv3 section 8.1.1.
*/
private static final int CLASS_MODIFIERS =
Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE |