All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.reflect.Modifier
java.lang.Object
|
+----java.lang.reflect.Modifier
- public class Modifier
- extends Object
The Modifier class provides static methods and constants to decode
class and member access modifiers.
- See Also:
- getModifiers, getModifiers
-
ABSTRACT
-
-
FINAL
-
-
INTERFACE
-
-
NATIVE
-
-
PRIVATE
-
-
PROTECTED
-
-
PUBLIC
-
-
STATIC
-
-
SYNCHRONIZED
-
-
TRANSIENT
-
-
VOLATILE
-
-
Modifier()
-
-
isAbstract(int)
- Return true if the specifier integer includes the abstract
modifier.
-
isFinal(int)
- Return true if the specifier integer includes the final
modifier.
-
isInterface(int)
- Return true if the specifier integer includes the interface
modifier.
-
isNative(int)
- Return true if the specifier integer includes the native
modifier.
-
isPrivate(int)
- Return true if the specifier integer includes the private
modifier.
-
isProtected(int)
- Return true if the specifier integer includes the protected
modifier.
-
isPublic(int)
- Return true if the specified integer includes the public
modifier.
-
isStatic(int)
- Return true if the specifier integer includes the static
modifier.
-
isSynchronized(int)
- Return true if the specifier integer includes the final
modifier.
-
isTransient(int)
- Return true if the specifier integer includes the transient
modifier.
-
isVolatile(int)
- Return true if the specifier integer includes the volatile
modifier.
-
toString(int)
- Return a string describing the access modifier flags in
the specified modifier.
PUBLIC
Properties Public Constant
PUBLIC=int
PRIVATE
Properties Public Constant
PRIVATE=int
PROTECTED
Properties Public Constant
PROTECTED=int
STATIC
Properties Public Constant
STATIC=int
FINAL
Properties Public Constant
FINAL=int
SYNCHRONIZED
Properties Public Constant
SYNCHRONIZED=int
VOLATILE
Properties Public Constant
VOLATILE=int
TRANSIENT
Properties Public Constant
TRANSIENT=int
NATIVE
Properties Public Constant
NATIVE=int
INTERFACE
Properties Public Constant
INTERFACE=int
ABSTRACT
Properties Public Constant
ABSTRACT=int
Modifier
method Modifier() public
isPublic
method isPublic(mod=int) returns boolean public static
- Return true if the specified integer includes the public
modifier.
isPrivate
method isPrivate(mod=int) returns boolean public static
- Return true if the specifier integer includes the private
modifier.
isProtected
method isProtected(mod=int) returns boolean public static
- Return true if the specifier integer includes the protected
modifier.
isStatic
method isStatic(mod=int) returns boolean public static
- Return true if the specifier integer includes the static
modifier.
isFinal
method isFinal(mod=int) returns boolean public static
- Return true if the specifier integer includes the final
modifier.
isSynchronized
method isSynchronized(mod=int) returns boolean public static
- Return true if the specifier integer includes the final
modifier.
isVolatile
method isVolatile(mod=int) returns boolean public static
- Return true if the specifier integer includes the volatile
modifier.
isTransient
method isTransient(mod=int) returns boolean public static
- Return true if the specifier integer includes the transient
modifier.
isNative
method isNative(mod=int) returns boolean public static
- Return true if the specifier integer includes the native
modifier.
isInterface
method isInterface(mod=int) returns boolean public static
- Return true if the specifier integer includes the interface
modifier.
isAbstract
method isAbstract(mod=int) returns boolean public static
- Return true if the specifier integer includes the abstract
modifier.
toString
method toString(mod=int) returns String public static
- Return a string describing the access modifier flags in
the specified modifier. For example:
public final synchronized
private transient volatile
The modifier names are return in canonical order, as
specified by The Java Language Specification.
All Packages Class Hierarchy This Package Previous Next Index