|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectclassUtils.javassist.bytecode.AccessFlag
public class AccessFlag
A support class providing static methods and constants for access modifiers such as public, rivate, ...
Field Summary | |
---|---|
static int |
ABSTRACT
|
static int |
FINAL
|
static int |
INTERFACE
|
static int |
NATIVE
|
static int |
PRIVATE
|
static int |
PROTECTED
|
static int |
PUBLIC
|
static int |
STATIC
|
static int |
STRICT
|
static int |
SUPER
|
static int |
SYNCHRONIZED
|
static int |
TRANSIENT
|
static int |
VOLATILE
|
Constructor Summary | |
---|---|
AccessFlag()
|
Method Summary | |
---|---|
static int |
clear(int accflags,
int clearBit)
Clears a specified bit in accflags . |
static int |
of(int modifier)
Converts a javassist.Modifier into a javassist.bytecode.AccessFlag. |
static int |
setPackage(int accflags)
Clears the public, protected, and private bits. |
static int |
setPrivate(int accflags)
Truns the private bit on. |
static int |
setProtected(int accflags)
Truns the protected bit on. |
static int |
setPublic(int accflags)
Truns the public bit on. |
static int |
toModifier(int accflags)
Converts a javassist.bytecode.AccessFlag into a javassist.Modifier. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PUBLIC
public static final int PRIVATE
public static final int PROTECTED
public static final int STATIC
public static final int FINAL
public static final int SYNCHRONIZED
public static final int VOLATILE
public static final int TRANSIENT
public static final int NATIVE
public static final int INTERFACE
public static final int ABSTRACT
public static final int STRICT
public static final int SUPER
Constructor Detail |
---|
public AccessFlag()
Method Detail |
---|
public static int setPublic(int accflags)
public static int setProtected(int accflags)
public static int setPrivate(int accflags)
public static int setPackage(int accflags)
public static int clear(int accflags, int clearBit)
accflags
.
public static int of(int modifier)
modifier
- javassist.Modifierpublic static int toModifier(int accflags)
accflags
- javassist.bytecode.Accessflag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |