diff options
author | chibash <chiba@javassist.org> | 2017-09-12 01:17:19 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2017-09-12 01:17:19 +0900 |
commit | 78223965e57c53959383fe4124f324c00f5545bd (patch) | |
tree | 0bbb44c3bd4ced26f62523a533a88555bc8e5aaa /src/main/javassist/bytecode/AccessFlag.java | |
parent | dfd0733e1f73853453ff76086481ebec2e88a624 (diff) | |
download | javassist-78223965e57c53959383fe4124f324c00f5545bd.tar.gz javassist-78223965e57c53959383fe4124f324c00f5545bd.zip |
updates ConstPool to support Module and Package
Diffstat (limited to 'src/main/javassist/bytecode/AccessFlag.java')
-rw-r--r-- | src/main/javassist/bytecode/AccessFlag.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/javassist/bytecode/AccessFlag.java b/src/main/javassist/bytecode/AccessFlag.java index 736135ec..244e29d4 100644 --- a/src/main/javassist/bytecode/AccessFlag.java +++ b/src/main/javassist/bytecode/AccessFlag.java @@ -41,12 +41,13 @@ public class AccessFlag { 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) { @@ -54,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) { |