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
Properties Public Constant 
   PUBLIC=int 
 o PRIVATE
Properties Public Constant 
   PRIVATE=int 
 o PROTECTED
Properties Public Constant 
   PROTECTED=int 
 o STATIC
Properties Public Constant 
   STATIC=int 
 o FINAL
Properties Public Constant 
   FINAL=int 
 o SYNCHRONIZED
Properties Public Constant 
   SYNCHRONIZED=int 
 o VOLATILE
Properties Public Constant 
   VOLATILE=int 
 o TRANSIENT
Properties Public Constant 
   TRANSIENT=int 
 o NATIVE
Properties Public Constant 
   NATIVE=int 
 o INTERFACE
Properties Public Constant 
   INTERFACE=int 
 o ABSTRACT
Properties Public Constant 
   ABSTRACT=int 

Constructors

 o Modifier
    method Modifier() public 

Methods

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

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

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

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

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

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

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

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

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

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

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

 o 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