Interface AgentBuilder.LocationStrategy

    • Method Detail

      • classFileLocator

        ClassFileLocator classFileLocator​(java.lang.ClassLoader classLoader,
                                          JavaModule module)
        Creates a class file locator for a given class loader and module combination.
        Parameters:
        classLoader - The class loader that is loading an instrumented type. Might be null to represent the bootstrap class loader.
        module - The type's module or null if Java modules are not supported on the current VM.
        Returns:
        The class file locator to use.