Java.Lang.Reflect.Modifier Members

The members of Java.Lang.Reflect.Modifier are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Constructs a new Modifier instance.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
Abstractint (1024). The int value representing the abstract modifier.
const
Finalint (16). The int value representing the final modifier.
const
Interfaceint (512). The int value representing the interface modifier.
const
Nativeint (256). The int value representing the native modifier.
const
Privateint (2). The int value representing the private modifier.
const
Protectedint (4). The int value representing the protected modifier.
const
Publicint (1). The int value representing the public modifier.
const
Staticint (8). The int value representing the static modifier.
const
Strictint (2048). The int value representing the strictfp modifier.
const
Synchronizedint (32). The int value representing the synchronized modifier.
const
Transientint (128). The int value representing the transient modifier.
const
Volatileint (64). The int value representing the volatile modifier.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
ClassModifiers() : int
Returns a mask of all the modifiers that may be applied to classes.
static
ConstructorModifiers() : int
Returns a mask of all the modifiers that may be applied to constructors.
static
FieldModifiers() : int
Returns a mask of all the modifiers that may be applied to fields.
static
InterfaceModifiers() : int
Returns a mask of all the modifiers that may be applied to interfaces.
static
IsAbstract(int) : bool
Returns true if the given modifiers contain Modifier.Abstract.
static
IsFinal(int) : bool
Returns true if the given modifiers contain Modifier.Final.
static
IsInterface(int) : bool
Returns true if the given modifiers contain Modifier.Interface.
static
IsNative(int) : bool
Returns true if the given modifiers contain Modifier.Native.
static
IsPrivate(int) : bool
Returns true if the given modifiers contain Modifier.Private.
static
IsProtected(int) : bool
Returns true if the given modifiers contain Modifier.Protected.
static
IsPublic(int) : bool
Returns true if the given modifiers contain Modifier.Public.
static
IsStatic(int) : bool
Returns true if the given modifiers contain Modifier.Static.
static
IsStrict(int) : bool
Returns true if the given modifiers contain Modifier.Strict.
static
IsSynchronized(int) : bool
Returns true if the given modifiers contain Modifier.Synchronized.
static
IsTransient(int) : bool
Returns true if the given modifiers contain Modifier.Transient.
static
IsVolatile(int) : bool
Returns true if the given modifiers contain Modifier.Volatile.
static
MethodModifiers() : int
Returns a mask of all the modifiers that may be applied to methods.
static
ToString(int) : string
Returns a string containing the string representation of all modifiers present in the specified modifiers.