diff options
Diffstat (limited to 'src/main/javassist/bytecode/AccessFlag.java')
-rw-r--r-- | src/main/javassist/bytecode/AccessFlag.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/main/javassist/bytecode/AccessFlag.java b/src/main/javassist/bytecode/AccessFlag.java index 6dda112..244e29d 100644 --- a/src/main/javassist/bytecode/AccessFlag.java +++ b/src/main/javassist/bytecode/AccessFlag.java @@ -1,11 +1,12 @@ /* * Javassist, a Java-bytecode translator toolkit. - * Copyright (C) 1999-2007 Shigeru Chiba. All Rights Reserved. + * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. Alternatively, the contents of this file may be used under - * the terms of the GNU Lesser General Public License Version 2.1 or later. + * the terms of the GNU Lesser General Public License Version 2.1 or later, + * or the Apache License Version 2.0. * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License @@ -17,7 +18,7 @@ package javassist.bytecode; /** * A support class providing static methods and constants - * for access modifiers such as public, rivate, ... + * for access modifiers such as public, private, ... */ public class AccessFlag { public static final int PUBLIC = 0x0001; @@ -37,14 +38,16 @@ public class AccessFlag { public static final int SYNTHETIC = 0x1000; public static final int ANNOTATION = 0x2000; public static final int ENUM = 0x4000; + public static final int MANDATED = 0x8000; public static final int SUPER = 0x0020; + public static final int MODULE = 0x8000; // Note: 0x0020 is assigned to both ACC_SUPER and ACC_SYNCHRONIZED // although java.lang.reflect.Modifier does not recognize ACC_SUPER. /** - * Truns the public bit on. The protected and private bits are + * Turns the public bit on. The protected and private bits are * cleared. */ public static int setPublic(int accflags) { @@ -52,7 +55,7 @@ public class AccessFlag { } /** - * Truns the protected bit on. The protected and public bits are + * Turns the protected bit on. The protected and public bits are * cleared. */ public static int setProtected(int accflags) { |