Interface InstrumentedType.Factory

All Known Implementing Classes:
InstrumentedType.Factory.Default
Enclosing interface:
InstrumentedType

public static interface InstrumentedType.Factory
A factory for creating an InstrumentedType.
  • Method Details

    • represent

      Creates an instrumented type that represents the provided type.
      Parameters:
      typeDescription - The type to represent.
      Returns:
      An appropriate instrumented type.
    • subclass

      InstrumentedType.WithFlexibleName subclass(String name, int modifiers, TypeDescription.Generic superClass)
      Creates a new instrumented type as a subclass.
      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.