Package 

Enum Modifier.Access

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

    
    public enum Modifier.Access
    extends Enum<Modifier.Access>
                        

    Accessibility levels, including default (package-private) visibility

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      PUBLIC

      The public access level

      DEFAULT

      The default, or "package private", access level

      PROTECTED

      The protected access level

      PRIVATE

      The private access level

    • Method Summary

      Modifier and Type Method Description
      String toString()
      final Modifier getModifier() The Modifier corresponding to this access level, or null for default (package-private) visibility
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

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