Enum Class InstrumentedType.Factory.Default

java.lang.Object
java.lang.Enum<InstrumentedType.Factory.Default>
net.bytebuddy.dynamic.scaffold.InstrumentedType.Factory.Default
All Implemented Interfaces:
Serializable, Comparable<InstrumentedType.Factory.Default>, Constable, InstrumentedType.Factory
Enclosing interface:
InstrumentedType.Factory

public static enum InstrumentedType.Factory.Default extends Enum<InstrumentedType.Factory.Default> implements InstrumentedType.Factory
Default implementations of instrumented type factories.
  • Enum Constant Details

  • Constructor Details

    • Default

      private Default()
  • Method Details

    • values

      public static InstrumentedType.Factory.Default[] 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 InstrumentedType.Factory.Default 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
    • subclass

      public InstrumentedType.WithFlexibleName subclass(String name, int modifiers, TypeDescription.Generic superClass)
      Creates a new instrumented type as a subclass.
      Specified by:
      subclass in interface InstrumentedType.Factory
      Parameters:
      name - The type's name.
      modifiers - The type's modifiers.
      superClass - The type's super class.
      Returns:
      A new instrumented type representing a subclass of the given parameters.