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 Object implements Plugin.Factory
A simple factory that returns a preconstructed plugin instance..
  • Field Details

    • plugin

      private final Plugin plugin
      The plugin to provide.
  • Constructor Details

    • Simple

      public Simple(Plugin plugin)
      Creates a simple plugin factory.
      Parameters:
      plugin - The plugin to provide.
  • Method Details

    • make

      public Plugin make()
      Returns a plugin that can be used for a transformation and which is subsequently closed.
      Specified by:
      make in interface Plugin.Factory
      Returns:
      The plugin to use for type transformations.