Java java.lang.reflect Modifier fields, constructors, methods, implement or subclass

Example usage for Java java.lang.reflect Modifier fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang.reflect Modifier.

The text is from its open source code.

Implementation

java.lang.reflect.Modifier has the following implementations.
Click this link to see all its implementation.

Field

intPUBLIC
The int value representing the public modifier.
intPRIVATE
The int value representing the private modifier.
intPROTECTED
The int value representing the protected modifier.
intSTATIC
The int value representing the static modifier.
intFINAL
The int value representing the final modifier.
intSYNCHRONIZED
The int value representing the synchronized modifier.
intVOLATILE
The int value representing the volatile modifier.
intTRANSIENT
The int value representing the transient modifier.
intNATIVE
The int value representing the native modifier.
intINTERFACE
The int value representing the interface modifier.
intABSTRACT
The int value representing the abstract modifier.
intSTRICT
The int value representing the strictfp modifier.

Constructor

Method

intclassModifiers()
Return an int value OR-ing together the source language modifiers that can be applied to a class.
intconstructorModifiers()
Return an int value OR-ing together the source language modifiers that can be applied to a constructor.
intfieldModifiers()
Return an int value OR-ing together the source language modifiers that can be applied to a field.
intinterfaceModifiers()
Return an int value OR-ing together the source language modifiers that can be applied to an interface.
booleanisAbstract(int mod)
Return true if the integer argument includes the abstract modifier, false otherwise.
booleanisFinal(int mod)
Return true if the integer argument includes the final modifier, false otherwise.
booleanisInterface(int mod)
Return true if the integer argument includes the interface modifier, false otherwise.
booleanisNative(int mod)
Return true if the integer argument includes the native modifier, false otherwise.
booleanisPrivate(int mod)
Return true if the integer argument includes the private modifier, false otherwise.
booleanisProtected(int mod)
Return true if the integer argument includes the protected modifier, false otherwise.
booleanisPublic(int mod)
Return true if the integer argument includes the public modifier, false otherwise.
booleanisStatic(int mod)
Return true if the integer argument includes the static modifier, false otherwise.
booleanisStrict(int mod)
Return true if the integer argument includes the strictfp modifier, false otherwise.
booleanisSynchronized(int mod)
Return true if the integer argument includes the synchronized modifier, false otherwise.
booleanisTransient(int mod)
Return true if the integer argument includes the transient modifier, false otherwise.
booleanisVolatile(int mod)
Return true if the integer argument includes the volatile modifier, false otherwise.
intmethodModifiers()
Return an int value OR-ing together the source language modifiers that can be applied to a method.
intparameterModifiers()
Return an int value OR-ing together the source language modifiers that can be applied to a parameter.
StringtoString(int mod)
Return a string describing the access modifier flags in the specified modifier.