Enum Class PrototypeAttribute

java.lang.Object
java.lang.Enum<PrototypeAttribute>
com.pnfsoftware.jeb.core.units.code.asm.type.PrototypeAttribute
All Implemented Interfaces:
Serializable, Comparable<PrototypeAttribute>, Constable

@Ser public enum PrototypeAttribute extends Enum<PrototypeAttribute>
Attributes of a native prototype item.
  • Enum Constant Details

    • VarArg

      public static final PrototypeAttribute VarArg
      Variable-argument prototype attribute.
    • NoReturn

      public static final PrototypeAttribute NoReturn
      No-return prototype attribute.
    • NoThrow

      public static final PrototypeAttribute NoThrow
      No-throw prototype attribute.
    • Leaf

      public static final PrototypeAttribute Leaf
      Leaf-function prototype attribute.
    • Pure

      public static final PrototypeAttribute Pure
      Pure-function prototype attribute.
    • Const

      public static final PrototypeAttribute Const
      Const-function prototype attribute.
    • Volatile

      public static final PrototypeAttribute Volatile
      Volatile member-function prototype attribute.
  • Method Details

    • values

      public static PrototypeAttribute[] 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 PrototypeAttribute 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

      public String format()
      Format this attribute for an unknown compiler.
      Returns:
      formatted attribute, or null
    • format

      public String format(CompilerType comptype)
      Format this attribute for a compiler.
      Parameters:
      comptype - compiler type
      Returns:
      formatted attribute, or null