Enum ValueAttribute.ToName

java.lang.Object
java.lang.Enum<ValueAttribute.ToName>
org.immutables.value.processor.meta.ValueAttribute.ToName
All Implemented Interfaces:
com.google.common.base.Function<ValueAttribute,String>, Serializable, Comparable<ValueAttribute.ToName>, java.lang.constant.Constable, Function<ValueAttribute,String>
Enclosing class:
ValueAttribute

static enum ValueAttribute.ToName extends Enum<ValueAttribute.ToName> implements com.google.common.base.Function<ValueAttribute,String>
  • Enum Constant Details

  • Constructor Details

    • ToName

      private ToName()
  • Method Details

    • values

      public static ValueAttribute.ToName[] 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 ValueAttribute.ToName 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
    • apply

      public String apply(ValueAttribute input)
      Specified by:
      apply in interface com.google.common.base.Function<ValueAttribute,String>
      Specified by:
      apply in interface Function<ValueAttribute,String>