Enum Class Types.JavaVersion

java.lang.Object
java.lang.Enum<Types.JavaVersion>
com.google.common.reflect.Types.JavaVersion
All Implemented Interfaces:
Serializable, Comparable<Types.JavaVersion>, Constable
Enclosing class:
Types

static enum Types.JavaVersion extends Enum<Types.JavaVersion>
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • JavaVersion

      private JavaVersion()
  • Method Details

    • values

      public static Types.JavaVersion[] 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 Types.JavaVersion 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
    • newArrayType

      abstract Type newArrayType(Type componentType)
    • usedInGenericType

      abstract Type usedInGenericType(Type type)
    • usedInGenericType

      final ImmutableList<Type> usedInGenericType(Type[] types)
    • typeName

      String typeName(Type type)
    • jdkTypeDuplicatesOwnerName

      boolean jdkTypeDuplicatesOwnerName()