Interface InstrumentedType.Factory

    • Method Detail

      • represent

        InstrumentedType.WithFlexibleName represent​(TypeDescription typeDescription)
        Creates an instrumented type that represents the provided type.
        Parameters:
        typeDescription - The type to represent.
        Returns:
        An appropriate instrumented type.
      • subclass

        InstrumentedType.WithFlexibleName subclass​(java.lang.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.