protected static class ByteBuddyMojo.Transformer.ForDiscoveredPlugin extends ByteBuddyMojo.Transformer
ByteBuddyMojo.Transformer.ForConfiguredPlugin, ByteBuddyMojo.Transformer.ForDiscoveredPlugin| Modifier | Constructor and Description |
|---|---|
protected |
ForDiscoveredPlugin(String plugin)
Creates a new transformer for a discovered plugin.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPlugin()
Returns the name of the plugin to apply.
|
protected List<? extends Plugin.Factory.UsingReflection.ArgumentResolver> |
toArgumentResolvers()
Returns the argument resolvers to use.
|
protected ClassLoader |
toClassLoader(ClassLoaderResolver classLoaderResolver,
String groupId,
String artifactId,
String version,
String packaging)
Resolves the class loader to use for resolving the plugin.
|
protected ForDiscoveredPlugin(String plugin)
plugin - The name of the discovered plugin.protected String getPlugin()
ByteBuddyMojo.TransformergetPlugin in class ByteBuddyMojo.Transformerprotected List<? extends Plugin.Factory.UsingReflection.ArgumentResolver> toArgumentResolvers()
ByteBuddyMojo.TransformertoArgumentResolvers in class ByteBuddyMojo.Transformerprotected ClassLoader toClassLoader(ClassLoaderResolver classLoaderResolver, String groupId, String artifactId, String version, String packaging)
ByteBuddyMojo.TransformertoClassLoader in class ByteBuddyMojo.TransformerclassLoaderResolver - The class loader resolver to use.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–2021. All rights reserved.