public class Transformation
extends java.lang.Object
| Constructor and Description |
|---|
Transformation()
Creates a new transformation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
argument(groovy.lang.Closure<?> closure)
Adds a plugin argument to consider during instantiation.
|
java.util.List<PluginArgument> |
getArguments()
Returns a list of arguments that are provided to the plugin for construction.
|
java.lang.Class<? extends net.bytebuddy.build.Plugin> |
getPlugin()
Returns the plugin type to apply.
|
protected java.util.List<net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver> |
makeArgumentResolvers()
Creates the argument resolvers for the plugin's constructor by transforming the plugin arguments.
|
void |
setPlugin(java.lang.Class<? extends net.bytebuddy.build.Plugin> plugin)
Sets the plugin type to apply.
|
@Input public java.util.List<PluginArgument> getArguments()
public void argument(groovy.lang.Closure<?> closure)
closure - The closure for configuring the argument.protected java.util.List<net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver> makeArgumentResolvers()
@Input public java.lang.Class<? extends net.bytebuddy.build.Plugin> getPlugin()
public void setPlugin(java.lang.Class<? extends net.bytebuddy.build.Plugin> plugin)
plugin - The plugin type to apply.