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

Variable Index

 o ABSTRACT
 o FINAL
 o INTERFACE
 o NATIVE
 o PRIVATE
 o PROTECTED
 o PUBLIC
 o STATIC
 o SYNCHRONIZED
 o TRANSIENT
 o VOLATILE

Constructor Index

 o Modifier()

Method Index

 o isAbstract(int)
Return true if the specifier integer includes the abstract modifier.
 o isFinal(int)
Return true if the specifier integer includes the final modifier.
 o isInterface(int)
Return true if the specifier integer includes the interface modifier.
 o isNative(int)
Return true if the specifier integer includes the native modifier.
 o isPrivate(int)
Return true if the specifier integer includes the private modifier.
 o isProtected(int)
Return true if the specifier integer includes the protected modifier.
 o isPublic(int)
Return true if the specified integer includes the public modifier.
 o isStatic(int)
Return true if the specifier integer includes the static modifier.
 o isSynchronized(int)
Return true if the specifier integer includes the final modifier.
 o isTransient(int)
Return true if the specifier integer includes the transient modifier.
 o isVolatile(int)
Return true if the specifier integer includes the volatile modifier.
 o toString(int)
Return a string describing the access modifier flags in the specified modifier.

Variables

 o PUBLIC public static final int PUBLIC  o PRIVATE public static final int PRIVATE  o PROTECTED public static final int PROTECTED  o STATIC public static final int STATIC  o FINAL public static final int FINAL  o SYNCHRONIZED public static final int SYNCHRONIZED  o VOLATILE public static final int VOLATILE  o TRANSIENT public static final int TRANSIENT  o NATIVE public static final int NATIVE  o INTERFACE public static final int INTERFACE  o ABSTRACT public static final int ABSTRACT

Constructors

 o Modifier public Modifier()

Methods

 o isPublic public static boolean isPublic(int mod)
Return true if the specified integer includes the public modifier.

 o isPrivate public static boolean isPrivate(int mod)
Return true if the specifier integer includes the private modifier.

 o isProtected public static boolean isProtected(int mod)
Return true if the specifier integer includes the protected modifier.

 o isStatic public static boolean isStatic(int mod)
Return true if the specifier integer includes the static modifier.

 o isFinal public static boolean isFinal(int mod)
Return true if the specifier integer includes the final modifier.

 o isSynchronized public static boolean isSynchronized(int mod)
Return true if the specifier integer includes the final modifier.

 o isVolatile public static boolean isVolatile(int mod)
Return true if the specifier integer includes the volatile modifier.

 o isTransient public static boolean isTransient(int mod)
Return true if the specifier integer includes the transient modifier.

 o isNative public static boolean isNative(int mod)
Return true if the specifier integer includes the native modifier.

 o isInterface public static boolean isInterface(int mod)
Return true if the specifier integer includes the interface modifier.

 o isAbstract public static boolean isAbstract(int mod)
Return true if the specifier integer includes the abstract modifier.

 o toString public static String toString(int mod)
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
Submit a bug or feature