|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jdt.core.dom.Modifier
Modifier flags. The numeric values of these flags match the ones for class files as described in the Java Virtual Machine Specification.
Modifier: public protected private static abstract final native synchronized transient volatile strictfp
This class provides constants and static methods only; it is not intended to be instantiated or subclassed.
Field Summary | |
static int |
ABSTRACT
"abstract" modifier constant (bit mask). |
static int |
FINAL
"final" modifier constant (bit mask). |
static int |
NATIVE
"native" modifier constant (bit mask). |
static int |
NONE
Modifier constant (bit mask, value 0) indicating no modifiers. |
static int |
PRIVATE
"private" modifier constant (bit mask). |
static int |
PROTECTED
"protected" modifier constant (bit mask). |
static int |
PUBLIC
"public" modifier constant (bit mask). |
static int |
STATIC
"static" modifier constant (bit mask). |
static int |
STRICTFP
"strictfp" modifier constant (bit mask). |
static int |
SYNCHRONIZED
"synchronized" modifier constant (bit mask). |
static int |
TRANSIENT
"transient" modifier constant (bit mask). |
static int |
VOLATILE
"volatile" modifier constant (bit mask). |
Method Summary | |
static boolean |
isAbstract(int flags)
Returns whether the given flags includes the "abstract" modifier. |
static boolean |
isFinal(int flags)
Returns whether the given flags includes the "final" modifier. |
static boolean |
isNative(int flags)
Returns whether the given flags includes the "native" modifier. |
static boolean |
isPrivate(int flags)
Returns whether the given flags includes the "private" modifier. |
static boolean |
isProtected(int flags)
Returns whether the given flags includes the "protected" modifier. |
static boolean |
isPublic(int flags)
Returns whether the given flags includes the "public" modifier. |
static boolean |
isStatic(int flags)
Returns whether the given flags includes the "static" modifier. |
static boolean |
isStrictfp(int flags)
Returns whether the given flags includes the "strictfp" modifier. |
static boolean |
isSynchronized(int flags)
Returns whether the given flags includes the "synchronized" modifier. |
static boolean |
isTransient(int flags)
Returns whether the given flags includes the "transient" modifier. |
static boolean |
isVolatile(int flags)
Returns whether the given flags includes the "volatile" modifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int NONE
public static int PUBLIC
public static int PRIVATE
public static int PROTECTED
public static int STATIC
public static int FINAL
public static int SYNCHRONIZED
public static int VOLATILE
public static int TRANSIENT
public static int NATIVE
public static int ABSTRACT
public static int STRICTFP
Method Detail |
public static boolean isPublic(int flags)
flags
- the modifier flags
true
if the PUBLIC
bit is
set, and false
otherwisepublic static boolean isPrivate(int flags)
flags
- the modifier flags
true
if the PRIVATE
bit is
set, and false
otherwisepublic static boolean isProtected(int flags)
flags
- the modifier flags
true
if the PROTECTED
bit is
set, and false
otherwisepublic static boolean isStatic(int flags)
flags
- the modifier flags
true
if the STATIC
bit is
set, and false
otherwisepublic static boolean isFinal(int flags)
flags
- the modifier flags
true
if the FINAL
bit is
set, and false
otherwisepublic static boolean isSynchronized(int flags)
flags
- the modifier flags
true
if the SYNCHRONIZED
bit is
set, and false
otherwisepublic static boolean isVolatile(int flags)
flags
- the modifier flags
true
if the VOLATILE
bit is
set, and false
otherwisepublic static boolean isTransient(int flags)
flags
- the modifier flags
true
if the TRANSIENT
bit is
set, and false
otherwisepublic static boolean isNative(int flags)
flags
- the modifier flags
true
if the NATIVE
bit is
set, and false
otherwisepublic static boolean isAbstract(int flags)
flags
- the modifier flags
true
if the ABSTRACT
bit is
set, and false
otherwisepublic static boolean isStrictfp(int flags)
flags
- the modifier flags
true
if the STRICTFP
bit is
set, and false
otherwise
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |