public static enum Clazz.JAVA extends Enum<Clazz.JAVA>
Enum Constant and Description |
---|
J2SE5 |
J2SE6 |
JDK1_1 |
JDK1_2 |
JDK1_3 |
JDK1_4 |
OpenJDK7 |
OpenJDK8 |
OpenJDK9 |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
String |
getEE() |
String |
getFilter() |
static Clazz.JAVA |
getJava(int major,
int minor) |
int |
getMajor() |
Map<String,Set<String>> |
getProfiles() |
boolean |
hasAnnotations() |
boolean |
hasEnums() |
boolean |
hasGenerics() |
static Clazz.JAVA |
valueOf(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
public static Clazz.JAVA[] values()
for (Clazz.JAVA c : Clazz.JAVA.values()) System.out.println(c);
public static Clazz.JAVA valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getMajor()
public boolean hasAnnotations()
public boolean hasGenerics()
public boolean hasEnums()
public static Clazz.JAVA getJava(int major, int minor)
public String getEE()
public String getFilter()
public Map<String,Set<String>> getProfiles() throws IOException
IOException
Copyright © 2021 aQute SARL. All rights reserved.