javassist.bytecode.AccessFlag.
All the methods/constants in this class are compatible with
ones in java.lang.reflect.Modifier.
CtClass#getModifiers()
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isPackage(int mod)
Returns true if the modifiers do not include either
|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isVarArgs(int mod)
Returns true if the modifiers include the |
| public static boolean | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static String | toString(int
modifier flags. mod)Return a string describing the access modifier flags in the specified modifier. |
| ABSTRACT | back to summary |
|---|---|
| public static final int ABSTRACT | |
| ANNOTATION | back to summary |
|---|---|
| public static final int ANNOTATION | |
| ENUM | back to summary |
|---|---|
| public static final int ENUM | |
| FINAL | back to summary |
|---|---|
| public static final int FINAL | |
| INTERFACE | back to summary |
|---|---|
| public static final int INTERFACE | |
| NATIVE | back to summary |
|---|---|
| public static final int NATIVE | |
| PRIVATE | back to summary |
|---|---|
| public static final int PRIVATE | |
| PROTECTED | back to summary |
|---|---|
| public static final int PROTECTED | |
| PUBLIC | back to summary |
|---|---|
| public static final int PUBLIC | |
| STATIC | back to summary |
|---|---|
| public static final int STATIC | |
| STRICT | back to summary |
|---|---|
| public static final int STRICT | |
| SYNCHRONIZED | back to summary |
|---|---|
| public static final int SYNCHRONIZED | |
| TRANSIENT | back to summary |
|---|---|
| public static final int TRANSIENT | |
| VARARGS | back to summary |
|---|---|
| public static final int VARARGS | |
| VOLATILE | back to summary |
|---|---|
| public static final int VOLATILE | |
| Modifier | back to summary |
|---|---|
| public Modifier() | |
| clear | back to summary |
|---|---|
| public static int clear(int mod, int clearBit) Clears a specified bit in | |
| isAbstract | back to summary |
|---|---|
| public static boolean isAbstract(int mod) Returns true if the modifiers include the | |
| isAnnotation | back to summary |
|---|---|
| public static boolean isAnnotation(int mod) Returns true if the modifiers include the
| |
| isEnum | back to summary |
|---|---|
| public static boolean isEnum(int mod) Returns true if the modifiers include the
| |
| isFinal | back to summary |
|---|---|
| public static boolean isFinal(int mod) Returns true if the modifiers include the | |
| isInterface | back to summary |
|---|---|
| public static boolean isInterface(int mod) Returns true if the modifiers include the | |
| isNative | back to summary |
|---|---|
| public static boolean isNative(int mod) Returns true if the modifiers include the | |
| isPackage | back to summary |
|---|---|
| public static boolean isPackage(int mod) Returns true if the modifiers do not include either
| |
| isPrivate | back to summary |
|---|---|
| public static boolean isPrivate(int mod) Returns true if the modifiers include the | |
| isProtected | back to summary |
|---|---|
| public static boolean isProtected(int mod) Returns true if the modifiers include the | |
| isPublic | back to summary |
|---|---|
| public static boolean isPublic(int mod) Returns true if the modifiers include the | |
| isStatic | back to summary |
|---|---|
| public static boolean isStatic(int mod) Returns true if the modifiers include the | |
| isStrict | back to summary |
|---|---|
| public static boolean isStrict(int mod) Returns true if the modifiers include the | |
| isSynchronized | back to summary |
|---|---|
| public static boolean isSynchronized(int mod) Returns true if the modifiers include the | |
| isTransient | back to summary |
|---|---|
| public static boolean isTransient(int mod) Returns true if the modifiers include the | |
| isVarArgs | back to summary |
|---|---|
| public static boolean isVarArgs(int mod) Returns true if the modifiers include the | |
| isVolatile | back to summary |
|---|---|
| public static boolean isVolatile(int mod) Returns true if the modifiers include the | |
| setPackage | back to summary |
|---|---|
| public static int setPackage(int mod) Clears the public, protected, and private bits. | |
| setPrivate | back to summary |
|---|---|
| public static int setPrivate(int mod) Truns the private bit on. The protected and private bits are cleared. | |
| setProtected | back to summary |
|---|---|
| public static int setProtected(int mod) Truns the protected bit on. The protected and public bits are cleared. | |
| setPublic | back to summary |
|---|---|
| public static int setPublic(int mod) Truns the public bit on. The protected and private bits are cleared. | |
| toString | back to summary |
|---|---|
| public static String toString(int mod) Return a string describing the access modifier flags in the specified modifier.
| |