Package net.bytebuddy

Class ByteBuddy.EnumerationImplementation

    • Field Detail

      • CLONE_METHOD_NAME

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

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

        protected static final java.lang.String ENUM_VALUES_METHOD_NAME
        The name of the values method that is defined for any enumeration.
        See Also:
        Constant Field Values
      • ENUM_FIELD_MODIFIERS

        private static final int ENUM_FIELD_MODIFIERS
        The field modifiers to use for any field that is added to an enumeration.
        See Also:
        Constant Field Values
      • ENUM_VALUES

        private static final java.lang.String ENUM_VALUES
        The name of the field containing an array of all enumeration values.
        See Also:
        Constant Field Values
      • values

        private final java.util.List<java.lang.String> values
        The names of the enumerations to define for the enumeration.
    • Constructor Detail

      • EnumerationImplementation

        protected EnumerationImplementation​(java.util.List<java.lang.String> values)
        Creates a new implementation of an enumeration type.
        Parameters:
        values - The values of the enumeration.