Class ByteBuddy.EnumerationImplementation

java.lang.Object
net.bytebuddy.ByteBuddy.EnumerationImplementation
All Implemented Interfaces:
InstrumentedType.Prepareable, Implementation
Enclosing class:
ByteBuddy

@Enhance protected static class ByteBuddy.EnumerationImplementation extends Object implements Implementation
An implementation fo the values method of an enumeration type.
  • Field Details

    • CLONE_METHOD_NAME

      protected static final String CLONE_METHOD_NAME
      The name of the Object.clone() method.
      See Also:
    • ENUM_VALUE_OF_METHOD_NAME

      protected static final String ENUM_VALUE_OF_METHOD_NAME
      The name of the valueOf method that is defined for any enumeration.
      See Also:
    • ENUM_VALUES_METHOD_NAME

      protected static final String ENUM_VALUES_METHOD_NAME
      The name of the values method that is defined for any enumeration.
      See Also:
  • Constructor Details

    • EnumerationImplementation

      protected EnumerationImplementation(List<String> values)
      Creates a new implementation of an enumeration type.
      Parameters:
      values - The values of the enumeration.
  • Method Details