public static enum Clazz.JAVA extends java.lang.Enum<Clazz.JAVA>
Enum Constant and Description |
---|
J2SE5 |
J2SE6 |
JDK1_1 |
JDK1_2 |
JDK1_3 |
JDK1_4 |
OpenJDK7 |
OpenJDK8 |
OpenJDK9 |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
ee |
(package private) java.lang.String |
filter |
(package private) int |
major |
Modifier and Type | Method and Description |
---|---|
(package private) static Clazz.JAVA |
format(int n) |
java.lang.String |
getEE() |
java.lang.String |
getFilter() |
static Clazz.JAVA |
getJava(int major,
int minor) |
int |
getMajor() |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getProfiles() |
boolean |
hasAnnotations() |
boolean |
hasEnums() |
boolean |
hasGenerics() |
static Clazz.JAVA |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Clazz.JAVA[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Clazz.JAVA JDK1_1
public static final Clazz.JAVA JDK1_2
public static final Clazz.JAVA JDK1_3
public static final Clazz.JAVA JDK1_4
public static final Clazz.JAVA J2SE5
public static final Clazz.JAVA J2SE6
public static final Clazz.JAVA OpenJDK7
public static final Clazz.JAVA OpenJDK8
public static final Clazz.JAVA OpenJDK9
public static final Clazz.JAVA UNKNOWN
final int major
final java.lang.String ee
final java.lang.String filter
public static Clazz.JAVA[] values()
for (Clazz.JAVA c : Clazz.JAVA.values()) System.out.println(c);
public static Clazz.JAVA 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 nullstatic Clazz.JAVA format(int n)
public int getMajor()
public boolean hasAnnotations()
public boolean hasGenerics()
public boolean hasEnums()
public static Clazz.JAVA getJava(int major, int minor)
public java.lang.String getEE()
public java.lang.String getFilter()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getProfiles() throws java.io.IOException
java.io.IOException