Package net.bytebuddy.build
Class Plugin.Factory.Simple
- java.lang.Object
-
- net.bytebuddy.build.Plugin.Factory.Simple
-
- All Implemented Interfaces:
Plugin.Factory
- Enclosing interface:
- Plugin.Factory
@Enhance public static class Plugin.Factory.Simple extends java.lang.Object implements Plugin.Factory
A simple factory that returns a preconstructed plugin instance..
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Factory
Plugin.Factory.Simple, Plugin.Factory.UsingReflection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin
make()
Returns a plugin that can be used for a transformation and which is subsequently closed.
-
-
-
Field Detail
-
plugin
private final Plugin plugin
The plugin to provide.
-
-
Constructor Detail
-
Simple
public Simple(Plugin plugin)
Creates a simple plugin factory.- Parameters:
plugin
- The plugin to provide.
-
-
Method Detail
-
make
public Plugin make()
Returns a plugin that can be used for a transformation and which is subsequently closed.- Specified by:
make
in interfacePlugin.Factory
- Returns:
- The plugin to use for type transformations.
-
-