static enum Types.JavaVersion extends java.lang.Enum<Types.JavaVersion>
Modifier and Type | Field and Description |
---|---|
(package private) static Types.JavaVersion |
CURRENT |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
jdkTypeDuplicatesOwnerName() |
(package private) abstract java.lang.reflect.Type |
newArrayType(java.lang.reflect.Type componentType) |
(package private) java.lang.String |
typeName(java.lang.reflect.Type type) |
(package private) abstract java.lang.reflect.Type |
usedInGenericType(java.lang.reflect.Type type) |
(package private) ImmutableList<java.lang.reflect.Type> |
usedInGenericType(java.lang.reflect.Type[] types) |
static Types.JavaVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types.JavaVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.JavaVersion JAVA6
public static final Types.JavaVersion JAVA7
public static final Types.JavaVersion JAVA8
public static final Types.JavaVersion JAVA9
static final Types.JavaVersion CURRENT
public static Types.JavaVersion[] values()
for (Types.JavaVersion c : Types.JavaVersion.values()) System.out.println(c);
public static Types.JavaVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract java.lang.reflect.Type newArrayType(java.lang.reflect.Type componentType)
abstract java.lang.reflect.Type usedInGenericType(java.lang.reflect.Type type)
final ImmutableList<java.lang.reflect.Type> usedInGenericType(java.lang.reflect.Type[] types)
java.lang.String typeName(java.lang.reflect.Type type)
boolean jdkTypeDuplicatesOwnerName()