Package net.bytebuddy.build
Class Plugin.Engine.Default.Preprocessor
java.lang.Object
net.bytebuddy.build.Plugin.Engine.Default.Preprocessor
- All Implemented Interfaces:
Callable<Callable<? extends Plugin.Engine.Dispatcher.Materializable>>
- Enclosing class:
Plugin.Engine.Default
private class Plugin.Engine.Default.Preprocessor
extends Object
implements Callable<Callable<? extends Plugin.Engine.Dispatcher.Materializable>>
A preprocessor for a parallel plugin engine.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classA materializable for an ignored element.private classA resolved materializable.private classA materializable that represents an unresolved type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassFileLocatorThe class file locator to use.private final Plugin.Engine.Source.ElementThe processed element.private final Plugin.Engine.ListenerThe listener to notify.The plugins to apply.private final List<Plugin.WithPreprocessor> The plugins with preprocessors to preprocess.private final StringThe name of the processed type.private final TypePoolThe type pool to use. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePreprocessor(Plugin.Engine.Source.Element element, String typeName, ClassFileLocator classFileLocator, TypePool typePool, Plugin.Engine.Listener listener, List<Plugin> plugins, List<Plugin.WithPreprocessor> preprocessors) Creates a new preprocessor. -
Method Summary
-
Field Details
-
element
The processed element. -
typeName
The name of the processed type. -
classFileLocator
The class file locator to use. -
typePool
The type pool to use. -
listener
The listener to notify. -
plugins
The plugins to apply. -
preprocessors
The plugins with preprocessors to preprocess.
-
-
Constructor Details
-
Preprocessor
private Preprocessor(Plugin.Engine.Source.Element element, String typeName, ClassFileLocator classFileLocator, TypePool typePool, Plugin.Engine.Listener listener, List<Plugin> plugins, List<Plugin.WithPreprocessor> preprocessors) Creates a new preprocessor.- Parameters:
element- The processed element.typeName- The name of the processed type.classFileLocator- The class file locator to use.typePool- The type pool to use.listener- The listener to notify.plugins- The plugins to apply.preprocessors- The plugins with preprocessors to preprocess.
-
-
Method Details
-
call
- Specified by:
callin interfaceCallable<Callable<? extends Plugin.Engine.Dispatcher.Materializable>>- Throws:
Exception
-