Enum Class AttributeMapper.AttributeStability

java.lang.Object
java.lang.Enum<AttributeMapper.AttributeStability>
java.lang.classfile.AttributeMapper.AttributeStability
All Implemented Interfaces:
Serializable, Comparable<AttributeMapper.AttributeStability>, Constable
Enclosing interface:
AttributeMapper<A extends Attribute<A>>

public static enum AttributeMapper.AttributeStability extends Enum<AttributeMapper.AttributeStability>
Indicates the data dependency of the class file representation of an attribute. Whether an attribute can be bulk-copied by its binary representation to a new class file depends on if its data refers to other parts of its enclosing class file.
API Note:
This dependency is called "stability" because it indicates the conditions for a class file attribute to be eligible for bulk-copying to another class file.
Since:
24
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static AttributeMapper.AttributeStability[] 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 AttributeMapper.AttributeStability 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