Enum Proto.DeclatedTypeToElement

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

static enum Proto.DeclatedTypeToElement extends Enum<Proto.DeclatedTypeToElement> implements com.google.common.base.Function<DeclaredType,TypeElement>
  • Enum Constant Details

  • Constructor Details

    • DeclatedTypeToElement

      private DeclatedTypeToElement()
  • Method Details

    • values

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