|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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.
Note that Java model class Flags
provides the same functionality
as this class, only in the org.eclipse.jdt.core
package.
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 final int NONE
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 ABSTRACT
public static final int STRICTFP
Method Detail |
public static boolean isPublic(int flags)
flags
- the modifier flagstrue
if the PUBLIC
bit is
set, and false
otherwisepublic static boolean isPrivate(int flags)
flags
- the modifier flagstrue
if the PRIVATE
bit is
set, and false
otherwisepublic static boolean isProtected(int flags)
flags
- the modifier flagstrue
if the PROTECTED
bit is
set, and false
otherwisepublic static boolean isStatic(int flags)
flags
- the modifier flagstrue
if the STATIC
bit is
set, and false
otherwisepublic static boolean isFinal(int flags)
flags
- the modifier flagstrue
if the FINAL
bit is
set, and false
otherwisepublic static boolean isSynchronized(int flags)
flags
- the modifier flagstrue
if the SYNCHRONIZED
bit is
set, and false
otherwisepublic static boolean isVolatile(int flags)
flags
- the modifier flagstrue
if the VOLATILE
bit is
set, and false
otherwisepublic static boolean isTransient(int flags)
flags
- the modifier flagstrue
if the TRANSIENT
bit is
set, and false
otherwisepublic static boolean isNative(int flags)
flags
- the modifier flagstrue
if the NATIVE
bit is
set, and false
otherwisepublic static boolean isAbstract(int flags)
flags
- the modifier flagstrue
if the ABSTRACT
bit is
set, and false
otherwisepublic static boolean isStrictfp(int flags)
flags
- the modifier flagstrue
if the STRICTFP
bit is
set, and false
otherwise
|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |