Class ByteBuddyMojo.Transformer.ForDiscoveredPlugin.FromClassLoader

    • Field Detail

      • classPath

        private final java.util.List<java.lang.String> classPath
        The class path elements for loading this plugin.
    • Constructor Detail

      • FromClassLoader

        protected FromClassLoader​(java.lang.String plugin,
                                  java.util.List<java.lang.String> classPath)
        Creates a new transformer for a discovered plugin from the class path.
        Parameters:
        plugin - The name of the discovered plugin.
        classPath - The class path elements for loading this plugin.
    • Method Detail

      • toClassLoader

        protected java.lang.ClassLoader toClassLoader​(ClassLoaderResolver classLoaderResolver,
                                                      java.util.Map<ByteBuddyMojo.Coordinate,​java.lang.String> coordinates,
                                                      java.lang.String groupId,
                                                      java.lang.String artifactId,
                                                      java.lang.String version,
                                                      java.lang.String packaging)
        Description copied from class: ByteBuddyMojo.Transformer
        Resolves the class loader to use for resolving the plugin.
        Overrides:
        toClassLoader in class ByteBuddyMojo.Transformer.ForDiscoveredPlugin
        Parameters:
        classLoaderResolver - The class loader resolver to use.
        coordinates - The managed coordinates of this project.
        groupId - The group id of this project.
        artifactId - The artifact id of this project.
        version - The version of this project.
        packaging - The packaging of this project.
        Returns:
        The class loader to use.