Interface AgentBuilder.Default.Transformation

    • Method Detail

      • resolve

        AgentBuilder.Default.Transformation.Resolution resolve​(TypeDescription typeDescription,
                                                               java.lang.ClassLoader classLoader,
                                                               JavaModule module,
                                                               java.lang.Class<?> classBeingRedefined,
                                                               boolean loaded,
                                                               java.security.ProtectionDomain protectionDomain,
                                                               TypePool typePool)
        Resolves an attempted transformation to a specific transformation.
        Parameters:
        typeDescription - A description of the type that is to be transformed.
        classLoader - The class loader of the type being transformed.
        module - The transformed type's module or null if the current VM does not support modules.
        classBeingRedefined - In case of a type redefinition, the loaded type being transformed or null if that is not the case.
        loaded - true if the instrumented type is loaded.
        protectionDomain - The protection domain of the type being transformed.
        typePool - The type pool to apply during type creation.
        Returns:
        A resolution for the given type.