Enum Class ClassData.COMPILATION_UNIT

java.lang.Object
java.lang.Enum<ClassData.COMPILATION_UNIT>
org.openjdk.asmtools.jdis.ClassData.COMPILATION_UNIT
All Implemented Interfaces:
Serializable, Comparable<ClassData.COMPILATION_UNIT>, Constable
Enclosing class:
ClassData

public static enum ClassData.COMPILATION_UNIT extends Enum<ClassData.COMPILATION_UNIT>
  • Enum Constant Details

  • Constructor Details

    • COMPILATION_UNIT

      private COMPILATION_UNIT()
  • Method Details

    • values

      public static ClassData.COMPILATION_UNIT[] 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 ClassData.COMPILATION_UNIT 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
    • get

      public static ClassData.COMPILATION_UNIT get(String className, int access)
      Parameters:
      className - Pre-initialized Constant Pool name calculated by this_cpx
      access - access flags (modifiers)
      Returns:
      compilation unit