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 class
A materializable for an ignored element.private class
A resolved materializable.private class
A materializable that represents an unresolved type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassFileLocator
The class file locator to use.private final ClassFileVersion
The multi-release class file version ornull
for a regular class.private final Plugin.Engine.Source.Element
The processed element.private final Plugin.Engine.Listener
The listener to notify.The plugins to apply.private final List
<Plugin.WithPreprocessor> The plugins with preprocessors to preprocess.private final String
The name of the processed type.private final TypePool
The type pool to use. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Preprocessor
(Plugin.Engine.Source.Element element, String typeName, ClassFileLocator classFileLocator, ClassFileVersion classFileVersion, 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. -
classFileVersion
The multi-release class file version ornull
for a regular class. -
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, @MaybeNull ClassFileVersion classFileVersion, 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.classFileVersion
- The multi-release class file version ornull
for a regular class.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:
call
in interfaceCallable<Callable<? extends Plugin.Engine.Dispatcher.Materializable>>
- Throws:
Exception
-