Enum Class Clazz.JAVA

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

public static enum Clazz.JAVA extends Enum<Clazz.JAVA>
  • Enum Constant Details

  • Field Details

    • major

      private final int major
    • ee

      private final String ee
    • filter

      private final String filter
    • values

      private static final Clazz.JAVA[] values
  • Constructor Details

    • JAVA

      private JAVA()
      For use by Java_9 and later.
    • JAVA

      private JAVA(String ee, String filter)
    • JAVA

      private JAVA(int major, String ee, String filter)
  • Method Details

    • values

      public static Clazz.JAVA[] 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

      public static Clazz.JAVA valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • format

      static Clazz.JAVA format(int n)
    • getMajor

      public int getMajor()
    • hasAnnotations

      public boolean hasAnnotations()
    • hasGenerics

      public boolean hasGenerics()
    • hasEnums

      public boolean hasEnums()
    • getJava

      public static Clazz.JAVA getJava(int major, int minor)
    • getEE

      public String getEE()
    • getFilter

      public String getFilter()
    • getProfiles

      public Map<String,Set<String>> getProfiles() throws IOException
      Throws:
      IOException