Enum Class AccessModifier

java.lang.Object
java.lang.Enum<AccessModifier>
io.helidon.common.types.AccessModifier
All Implemented Interfaces:
Serializable, Comparable<AccessModifier>, Constable

public enum AccessModifier extends Enum<AccessModifier>
Access modifier of the class model components.
  • Enum Constant Details

    • PUBLIC

      public static final AccessModifier PUBLIC
      Public access modifier.
    • PROTECTED

      public static final AccessModifier PROTECTED
      Protected access modifier.
    • PACKAGE_PRIVATE

      public static final AccessModifier PACKAGE_PRIVATE
      Package private modifier.
    • PRIVATE

      public static final AccessModifier PRIVATE
      Private access modifier.
  • Method Details

    • values

      public static AccessModifier[] 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 AccessModifier 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
    • modifierName

      public String modifierName()
      Return access modifier name which should be used in the generated component.
      Returns:
      modifier name