Liking cljdoc? Tell your friends :D

jdk.lang.reflect.Modifier

The Modifier class provides static methods and constants to decode class and member access modifiers. The sets of modifiers are represented as integers with distinct bit positions representing different modifiers. The values for the constants representing the modifiers are taken from the tables in sections 4.1, 4.4, 4.5, and 4.7 of The Java™ Virtual Machine Specification.

The Modifier class provides static methods and
constants to decode class and member access modifiers.  The sets of
modifiers are represented as integers with distinct bit positions
representing different modifiers.  The values for the constants
representing the modifiers are taken from the tables in sections 4.1, 4.4, 4.5, and 4.7 of
The Java™ Virtual Machine Specification.
raw docstring

*-abstractclj

Static Constant.

The int value representing the abstract modifier.

type: int

Static Constant.

The int value representing the abstract
 modifier.

type: int
raw docstring

*-finalclj

Static Constant.

The int value representing the final modifier.

type: int

Static Constant.

The int value representing the final
 modifier.

type: int
raw docstring

*-interfaceclj

Static Constant.

The int value representing the interface modifier.

type: int

Static Constant.

The int value representing the interface
 modifier.

type: int
raw docstring

*-nativeclj

Static Constant.

The int value representing the native modifier.

type: int

Static Constant.

The int value representing the native
 modifier.

type: int
raw docstring

*-privateclj

Static Constant.

The int value representing the private modifier.

type: int

Static Constant.

The int value representing the private
 modifier.

type: int
raw docstring

*-protectedclj

Static Constant.

The int value representing the protected modifier.

type: int

Static Constant.

The int value representing the protected
 modifier.

type: int
raw docstring

*-publicclj

Static Constant.

The int value representing the public modifier.

type: int

Static Constant.

The int value representing the public
 modifier.

type: int
raw docstring

*-staticclj

Static Constant.

The int value representing the static modifier.

type: int

Static Constant.

The int value representing the static
 modifier.

type: int
raw docstring

*-strictclj

Static Constant.

The int value representing the strictfp modifier.

type: int

Static Constant.

The int value representing the strictfp
 modifier.

type: int
raw docstring

*-synchronizedclj

Static Constant.

The int value representing the synchronized modifier.

type: int

Static Constant.

The int value representing the synchronized
 modifier.

type: int
raw docstring

*-transientclj

Static Constant.

The int value representing the transient modifier.

type: int

Static Constant.

The int value representing the transient
 modifier.

type: int
raw docstring

*-volatileclj

Static Constant.

The int value representing the volatile modifier.

type: int

Static Constant.

The int value representing the volatile
 modifier.

type: int
raw docstring

*abstract?clj

(*abstract? mod)

Return true if the integer argument includes the abstract modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the abstract modifier; false otherwise. - boolean

Return true if the integer argument includes the
 abstract modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 abstract modifier; false otherwise. - `boolean`
raw docstring

*class-modifiersclj

(*class-modifiers)

Return an int value OR-ing together the source language modifiers that can be applied to a class.

returns: an int value OR-ing together the source language modifiers that can be applied to a class. - int

Return an int value OR-ing together the source language
 modifiers that can be applied to a class.

returns: an int value OR-ing together the source language
 modifiers that can be applied to a class. - `int`
raw docstring

*constructor-modifiersclj

(*constructor-modifiers)

Return an int value OR-ing together the source language modifiers that can be applied to a constructor.

returns: an int value OR-ing together the source language modifiers that can be applied to a constructor. - int

Return an int value OR-ing together the source language
 modifiers that can be applied to a constructor.

returns: an int value OR-ing together the source language
 modifiers that can be applied to a constructor. - `int`
raw docstring

*field-modifiersclj

(*field-modifiers)

Return an int value OR-ing together the source language modifiers that can be applied to a field.

returns: an int value OR-ing together the source language modifiers that can be applied to a field. - int

Return an int value OR-ing together the source language
 modifiers that can be applied to a field.

returns: an int value OR-ing together the source language
 modifiers that can be applied to a field. - `int`
raw docstring

*final?clj

(*final? mod)

Return true if the integer argument includes the final modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the final modifier; false otherwise. - boolean

Return true if the integer argument includes the
 final modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 final modifier; false otherwise. - `boolean`
raw docstring

*interface-modifiersclj

(*interface-modifiers)

Return an int value OR-ing together the source language modifiers that can be applied to an interface.

returns: an int value OR-ing together the source language modifiers that can be applied to an interface. - int

Return an int value OR-ing together the source language
 modifiers that can be applied to an interface.

returns: an int value OR-ing together the source language
 modifiers that can be applied to an interface. - `int`
raw docstring

*interface?clj

(*interface? mod)

Return true if the integer argument includes the interface modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the interface modifier; false otherwise. - boolean

Return true if the integer argument includes the
 interface modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 interface modifier; false otherwise. - `boolean`
raw docstring

*method-modifiersclj

(*method-modifiers)

Return an int value OR-ing together the source language modifiers that can be applied to a method.

returns: an int value OR-ing together the source language modifiers that can be applied to a method. - int

Return an int value OR-ing together the source language
 modifiers that can be applied to a method.

returns: an int value OR-ing together the source language
 modifiers that can be applied to a method. - `int`
raw docstring

*native?clj

(*native? mod)

Return true if the integer argument includes the native modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the native modifier; false otherwise. - boolean

Return true if the integer argument includes the
 native modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 native modifier; false otherwise. - `boolean`
raw docstring

*parameter-modifiersclj

(*parameter-modifiers)

Return an int value OR-ing together the source language modifiers that can be applied to a parameter.

returns: an int value OR-ing together the source language modifiers that can be applied to a parameter. - int

Return an int value OR-ing together the source language
 modifiers that can be applied to a parameter.

returns: an int value OR-ing together the source language
 modifiers that can be applied to a parameter. - `int`
raw docstring

*private?clj

(*private? mod)

Return true if the integer argument includes the private modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the private modifier; false otherwise. - boolean

Return true if the integer argument includes the
 private modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 private modifier; false otherwise. - `boolean`
raw docstring

*protected?clj

(*protected? mod)

Return true if the integer argument includes the protected modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the protected modifier; false otherwise. - boolean

Return true if the integer argument includes the
 protected modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 protected modifier; false otherwise. - `boolean`
raw docstring

*public?clj

(*public? mod)

Return true if the integer argument includes the public modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the public modifier; false otherwise. - boolean

Return true if the integer argument includes the
 public modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 public modifier; false otherwise. - `boolean`
raw docstring

*static?clj

(*static? mod)

Return true if the integer argument includes the static modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the static modifier; false otherwise. - boolean

Return true if the integer argument includes the
 static modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 static modifier; false otherwise. - `boolean`
raw docstring

*strict?clj

(*strict? mod)

Return true if the integer argument includes the strictfp modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the strictfp modifier; false otherwise. - boolean

Return true if the integer argument includes the
 strictfp modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 strictfp modifier; false otherwise. - `boolean`
raw docstring

*synchronized?clj

(*synchronized? mod)

Return true if the integer argument includes the synchronized modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the synchronized modifier; false otherwise. - boolean

Return true if the integer argument includes the
 synchronized modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 synchronized modifier; false otherwise. - `boolean`
raw docstring

*to-stringclj

(*to-string mod)

Return a string describing the access modifier flags in the specified modifier. For example:

public final synchronized strictfp

The modifier names are returned in an order consistent with the suggested modifier orderings given in sections 8.1.1, 8.3.1, 8.4.3, 8.8.3, and 9.1.1 of The Java™ Language Specification. The full modifier ordering used by this method is: public protected private abstract static final transient volatile synchronized native strictfp interface The interface modifier discussed in this class is not a true modifier in the Java language and it appears after all other modifiers listed by this method. This method may return a string of modifiers that are not valid modifiers of a Java entity; in other words, no checking is done on the possible validity of the combination of modifiers represented by the input.

Note that to perform such checking for a known kind of entity, such as a constructor or method, first AND the argument of toString with the appropriate mask from a method like constructorModifiers() or methodModifiers().

mod - a set of modifiers - int

returns: a string representation of the set of modifiers represented by mod - java.lang.String

Return a string describing the access modifier flags in
 the specified modifier. For example:


    public final synchronized strictfp
 The modifier names are returned in an order consistent with the
 suggested modifier orderings given in sections 8.1.1, 8.3.1, 8.4.3, 8.8.3, and 9.1.1 of
 The Java™ Language Specification.
 The full modifier ordering used by this method is:
  public protected private abstract static final transient
 volatile synchronized native strictfp
 interface
 The interface modifier discussed in this class is
 not a true modifier in the Java language and it appears after
 all other modifiers listed by this method.  This method may
 return a string of modifiers that are not valid modifiers of a
 Java entity; in other words, no checking is done on the
 possible validity of the combination of modifiers represented
 by the input.

 Note that to perform such checking for a known kind of entity,
 such as a constructor or method, first AND the argument of
 toString with the appropriate mask from a method like
 constructorModifiers() or methodModifiers().

mod - a set of modifiers - `int`

returns: a string representation of the set of modifiers
 represented by mod - `java.lang.String`
raw docstring

*transient?clj

(*transient? mod)

Return true if the integer argument includes the transient modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the transient modifier; false otherwise. - boolean

Return true if the integer argument includes the
 transient modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 transient modifier; false otherwise. - `boolean`
raw docstring

*volatile?clj

(*volatile? mod)

Return true if the integer argument includes the volatile modifier, false otherwise.

mod - a set of modifiers - int

returns: true if mod includes the volatile modifier; false otherwise. - boolean

Return true if the integer argument includes the
 volatile modifier, false otherwise.

mod - a set of modifiers - `int`

returns: true if mod includes the
 volatile modifier; false otherwise. - `boolean`
raw docstring

->modifierclj

(->modifier)

Constructor.

Constructor.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close