Interface AuxiliaryType

    • Field Detail

      • DEFAULT_TYPE_MODIFIER

        static final ModifierContributor.ForType[] DEFAULT_TYPE_MODIFIER
        The default type access of an auxiliary type. This array must not be mutated.
    • Method Detail

      • make

        DynamicType make​(java.lang.String auxiliaryTypeName,
                         ClassFileVersion classFileVersion,
                         MethodAccessorFactory methodAccessorFactory)
        Creates a new auxiliary type.
        Parameters:
        auxiliaryTypeName - The fully qualified binary name for this auxiliary type. The type should be in the same package than the instrumented type this auxiliary type is providing services to in order to allow package-private access.
        classFileVersion - The class file version the auxiliary class should be written in.
        methodAccessorFactory - A factory for accessor methods.
        Returns:
        A dynamically created type representing this auxiliary type.