Modifier (Java Platform SE 8 ) (original) (raw)
Modifier and Type
Method
Description
static int
[classModifiers](../../../java/lang/reflect/Modifier.html#classModifiers--)()
Return an int
value OR-ing together the source language modifiers that can be applied to a class.
static int
[constructorModifiers](../../../java/lang/reflect/Modifier.html#constructorModifiers--)()
Return an int
value OR-ing together the source language modifiers that can be applied to a constructor.
static int
[fieldModifiers](../../../java/lang/reflect/Modifier.html#fieldModifiers--)()
Return an int
value OR-ing together the source language modifiers that can be applied to a field.
static int
[interfaceModifiers](../../../java/lang/reflect/Modifier.html#interfaceModifiers--)()
Return an int
value OR-ing together the source language modifiers that can be applied to an interface.
static boolean
[isAbstract](../../../java/lang/reflect/Modifier.html#isAbstract-int-)(int mod)
Return true
if the integer argument includes theabstract
modifier, false
otherwise.
static boolean
[isFinal](../../../java/lang/reflect/Modifier.html#isFinal-int-)(int mod)
Return true
if the integer argument includes thefinal
modifier, false
otherwise.
static boolean
[isInterface](../../../java/lang/reflect/Modifier.html#isInterface-int-)(int mod)
Return true
if the integer argument includes theinterface
modifier, false
otherwise.
static boolean
[isNative](../../../java/lang/reflect/Modifier.html#isNative-int-)(int mod)
Return true
if the integer argument includes thenative
modifier, false
otherwise.
static boolean
[isPrivate](../../../java/lang/reflect/Modifier.html#isPrivate-int-)(int mod)
Return true
if the integer argument includes theprivate
modifier, false
otherwise.
static boolean
[isProtected](../../../java/lang/reflect/Modifier.html#isProtected-int-)(int mod)
Return true
if the integer argument includes theprotected
modifier, false
otherwise.
static boolean
[isPublic](../../../java/lang/reflect/Modifier.html#isPublic-int-)(int mod)
Return true
if the integer argument includes thepublic
modifier, false
otherwise.
static boolean
[isStatic](../../../java/lang/reflect/Modifier.html#isStatic-int-)(int mod)
Return true
if the integer argument includes thestatic
modifier, false
otherwise.
static boolean
[isStrict](../../../java/lang/reflect/Modifier.html#isStrict-int-)(int mod)
Return true
if the integer argument includes thestrictfp
modifier, false
otherwise.
static boolean
[isSynchronized](../../../java/lang/reflect/Modifier.html#isSynchronized-int-)(int mod)
Return true
if the integer argument includes thesynchronized
modifier, false
otherwise.
static boolean
[isTransient](../../../java/lang/reflect/Modifier.html#isTransient-int-)(int mod)
Return true
if the integer argument includes thetransient
modifier, false
otherwise.
static boolean
[isVolatile](../../../java/lang/reflect/Modifier.html#isVolatile-int-)(int mod)
Return true
if the integer argument includes thevolatile
modifier, false
otherwise.
static int
[methodModifiers](../../../java/lang/reflect/Modifier.html#methodModifiers--)()
Return an int
value OR-ing together the source language modifiers that can be applied to a method.
static int
[parameterModifiers](../../../java/lang/reflect/Modifier.html#parameterModifiers--)()
Return an int
value OR-ing together the source language modifiers that can be applied to a parameter.
static [String](../../../java/lang/String.html "class in java.lang")
[toString](../../../java/lang/reflect/Modifier.html#toString-int-)(int mod)
Return a string describing the access modifier flags in the specified modifier.