Enum Value.Style.ImplementationVisibility

java.lang.Object
java.lang.Enum<Value.Style.ImplementationVisibility>
org.immutables.value.Value.Style.ImplementationVisibility
All Implemented Interfaces:
Serializable, Comparable<Value.Style.ImplementationVisibility>, java.lang.constant.Constable
Enclosing class:
Value.Style

public static enum Value.Style.ImplementationVisibility extends Enum<Value.Style.ImplementationVisibility>
If implementation visibility is more restrictive than visibility of abstract value type, then implementation type will not be exposed as a return type of build() or of() construction methods. Builder visibility will follow.
  • Enum Constant Details

  • Constructor Details

    • ImplementationVisibility

      private ImplementationVisibility()
  • Method Details

    • values

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

      public static Value.Style.ImplementationVisibility valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null