Package aQute.bnd.osgi
Enum Class Clazz.JAVA
- All Implemented Interfaces:
Serializable
,Comparable<Clazz.JAVA>
,Constable
- Enclosing class:
- Clazz
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Clazz.JAVA
format
(int n) getEE()
static Clazz.JAVA
getJava
(int major, int minor) int
getMajor()
boolean
boolean
hasEnums()
boolean
static Clazz.JAVA
Returns the enum constant of this class with the specified name.static Clazz.JAVA[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Java_1_1
-
Java_1_2
-
Java_1_3
-
Java_1_4
-
Java_5
-
Java_6
-
Java_7
-
Java_8
-
Java_9
-
Java_10
-
Java_11
-
Java_12
-
Java_13
-
Java_14
-
Java_15
-
Java_16
-
Java_17
-
Java_18
-
Java_19
-
Java_20
-
Java_21
-
Java_22
-
Java_23
-
Java_24
-
UNKNOWN
-
-
Field Details
-
major
private final int major -
ee
-
filter
-
values
-
-
Constructor Details
-
JAVA
private JAVA()For use by Java_9 and later. -
JAVA
-
JAVA
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
format
-
getMajor
public int getMajor() -
hasAnnotations
public boolean hasAnnotations() -
hasGenerics
public boolean hasGenerics() -
hasEnums
public boolean hasEnums() -
getJava
-
getEE
-
getFilter
-
getProfiles
- Throws:
IOException
-