Package 

Enum Modifier

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum Modifier
    extends Enum<Modifier>
                        

    A convenient wrapper for Java's Core Reflection Modifiers.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Modifier.Companion
      public enum Modifier.Access

      Accessibility levels, including default (package-private) visibility

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      VOLATILE

      The Java volatile modifier

      TRANSIENT

      The Java transient modifier

      SYNCHRONIZED

      The Java synchronized modifier

      STRICT

      The Java strictfp modifier

      STATIC

      The Java static modifier

      PUBLIC

      The Java public access modifier

      PROTECTED

      The Java protected access modifier

      PRIVATE

      The Java private access modifier

      NATIVE

      The Java native modifier

      INTERFACE

      The Java interface class modifier

      FINAL

      The Java final modifier

      ABSTRACT

      The Java abstract modifier

    • Method Summary

      Modifier and Type Method Description
      final Boolean test(Integer mods) Returns true if this modifier is present in the passed mods
      String toString()
      final Integer getMask() The Core Reflection modifier int bitmask
      final Integer getCustomaryOrder() The customary sorting order of modifiers, according to JLS §8.1.1, §8.3.1, and §8.4.
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait