aQute.lib.osgi
Enum Clazz.JAVA

java.lang.Object
  extended by java.lang.Enum<Clazz.JAVA>
      extended by aQute.lib.osgi.Clazz.JAVA
All Implemented Interfaces:
Serializable, Comparable<Clazz.JAVA>
Enclosing class:
Clazz

public static enum Clazz.JAVA
extends Enum<Clazz.JAVA>


Enum Constant Summary
J2S6
           
J2SE5
           
JDK1_1
           
JDK1_2
           
JDK1_3
           
JDK1_4
           
OpenJDK7
           
UNKNOWN
           
 
Method Summary
 int getMajor()
           
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.