Enum Proto.ToImmutableInfo

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

static enum Proto.ToImmutableInfo extends Enum<Proto.ToImmutableInfo> implements com.google.common.base.Function<ImmutableMirror,ValueImmutableInfo>
  • Enum Constant Details

  • Constructor Details

    • ToImmutableInfo

      private ToImmutableInfo()
  • Method Details

    • values

      public static Proto.ToImmutableInfo[] 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 Proto.ToImmutableInfo 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 ValueImmutableInfo apply(ImmutableMirror input)
      Specified by:
      apply in interface com.google.common.base.Function<ImmutableMirror,ValueImmutableInfo>
      Specified by:
      apply in interface Function<ImmutableMirror,ValueImmutableInfo>