Enum CommonBytecodeLibrary

java.lang.Object
java.lang.Enum<CommonBytecodeLibrary>
ru.progrm_jarvis.javacommons.bytecode.CommonBytecodeLibrary
All Implemented Interfaces:
Serializable, Comparable<CommonBytecodeLibrary>, BytecodeLibrary

public enum CommonBytecodeLibrary extends Enum<CommonBytecodeLibrary> implements BytecodeLibrary
Common bytecode libraries.
Implementation note
this could have been implemented
  • Enum Constant Details

  • Method Details

    • values

      public static CommonBytecodeLibrary[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CommonBytecodeLibrary 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
    • isAvailable

      public boolean isAvailable()
      Description copied from interface: BytecodeLibrary
      Checks if this bytecode library seems to be available at runtime.
      Specified by:
      isAvailable in interface BytecodeLibrary
      Returns:
      true if this bytecode library seems to be available at runtime and false otherwise
    • checkAvailability

      public boolean checkAvailability()
      Description copied from interface: BytecodeLibrary
      Checks if this bytecode library seems to be currently available at runtime updating its availability state.
      Specified by:
      checkAvailability in interface BytecodeLibrary
      Returns:
      true if this bytecode library seems to be available at runtime and false otherwise