java.lang.Object
java.lang.Enum<Modifier>
org.tudalgo.algoutils.tutor.general.reflections.Modifier
All Implemented Interfaces:
Serializable, Comparable<Modifier>, Constable

public enum Modifier extends Enum<Modifier>
  • Enum Constant Details

    • PUBLIC

      public static final Modifier PUBLIC
    • PROTECTED

      public static final Modifier PROTECTED
    • PRIVATE

      public static final Modifier PRIVATE
    • DEFAULT_ACCESS

      public static final Modifier DEFAULT_ACCESS
    • STATIC

      public static final Modifier STATIC
    • NON_STATIC

      public static final Modifier NON_STATIC
    • FINAL

      public static final Modifier FINAL
    • NON_FINAL

      public static final Modifier NON_FINAL
    • INTERFACE

      public static final Modifier INTERFACE
    • ABSTRACT

      public static final Modifier ABSTRACT
    • NON_ABSTRACT

      public static final Modifier NON_ABSTRACT
    • ENUM

      public static final Modifier ENUM
    • CLASS

      public static final Modifier CLASS
  • Method Details

    • values

      public static Modifier[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Modifier valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • is

      public boolean is(int modifier)
    • isNot

      public boolean isNot(int modifier)
    • keyword

      public String keyword()