protected static class ByteBuddyMojo.Transformer.ForDiscoveredPlugin.FromClassLoader extends ByteBuddyMojo.Transformer.ForDiscoveredPlugin
ByteBuddyMojo.Transformer.ForDiscoveredPlugin.FromClassLoader
ByteBuddyMojo.Transformer.ForConfiguredPlugin, ByteBuddyMojo.Transformer.ForDiscoveredPlugin
Modifier | Constructor and Description |
---|---|
protected |
FromClassLoader(String plugin,
List<String> classPath)
Creates a new transformer for a discovered plugin from the class path.
|
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
toClassLoader(ClassLoaderResolver classLoaderResolver,
Map<ByteBuddyMojo.Coordinate,String> coordinates,
String groupId,
String artifactId,
String version,
String packaging)
Resolves the class loader to use for resolving the plugin.
|
getPlugin, toArgumentResolvers
protected ClassLoader toClassLoader(ClassLoaderResolver classLoaderResolver, Map<ByteBuddyMojo.Coordinate,String> coordinates, String groupId, String artifactId, String version, String packaging)
ByteBuddyMojo.Transformer
toClassLoader
in class ByteBuddyMojo.Transformer.ForDiscoveredPlugin
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.Copyright © 2014–2023. All rights reserved.