aQute.lib.osgi
Enum Clazz.JAVA
java.lang.Object
java.lang.Enum<Clazz.JAVA>
aQute.lib.osgi.Clazz.JAVA
- All Implemented Interfaces:
- Serializable, Comparable<Clazz.JAVA>
- Enclosing class:
- Clazz
public static enum Clazz.JAVA
- extends Enum<Clazz.JAVA>
UNKNOWN
public static final Clazz.JAVA UNKNOWN
OpenJDK7
public static final Clazz.JAVA OpenJDK7
J2S6
public static final Clazz.JAVA J2S6
J2SE5
public static final Clazz.JAVA J2SE5
JDK1_4
public static final Clazz.JAVA JDK1_4
JDK1_3
public static final Clazz.JAVA JDK1_3
JDK1_2
public static final Clazz.JAVA JDK1_2
JDK1_1
public static final Clazz.JAVA JDK1_1
values
public static Clazz.JAVA[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Clazz.JAVA c : Clazz.JAVA.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Clazz.JAVA valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
getMajor
public int getMajor()
hasAnnotations
public boolean hasAnnotations()
hasGenerics
public boolean hasGenerics()
hasEnums
public boolean hasEnums()
Copyright © 2012 aQute SARL. All Rights Reserved.