aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/AccessFlag.java
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2017-09-12 01:17:19 +0900
committerchibash <chiba@javassist.org>2017-09-12 01:17:19 +0900
commit78223965e57c53959383fe4124f324c00f5545bd (patch)
tree0bbb44c3bd4ced26f62523a533a88555bc8e5aaa /src/main/javassist/bytecode/AccessFlag.java
parentdfd0733e1f73853453ff76086481ebec2e88a624 (diff)
downloadjavassist-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.java5
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) {