Package net.bytebuddy.build
Class Plugin.Engine.Default.Preprocessor
- java.lang.Object
-
- net.bytebuddy.build.Plugin.Engine.Default.Preprocessor
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.util.concurrent.Callable<? extends Plugin.Engine.Dispatcher.Materializable>>
- Enclosing class:
- Plugin.Engine.Default
private class Plugin.Engine.Default.Preprocessor extends java.lang.Object implements java.util.concurrent.Callable<java.util.concurrent.Callable<? extends Plugin.Engine.Dispatcher.Materializable>>
A preprocessor for a parallel plugin engine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
Plugin.Engine.Default.Preprocessor.Ignored
A materializable for an ignored element.private class
Plugin.Engine.Default.Preprocessor.Resolved
A resolved materializable.private class
Plugin.Engine.Default.Preprocessor.Unresolved
A materializable that represents an unresolved type.
-
Field Summary
Fields Modifier and Type Field Description private ClassFileLocator
classFileLocator
The class file locator to use.private Plugin.Engine.Source.Element
element
The processed element.private Plugin.Engine.Listener
listener
The listener to notify.private java.util.List<Plugin>
plugins
The plugins to apply.private java.util.List<Plugin.WithPreprocessor>
preprocessors
The plugins with preprocessors to preprocess.private java.lang.String
typeName
The name of the processed type.private TypePool
typePool
The type pool to use.
-
Constructor Summary
Constructors Modifier Constructor Description private
Preprocessor(Plugin.Engine.Source.Element element, java.lang.String typeName, ClassFileLocator classFileLocator, TypePool typePool, Plugin.Engine.Listener listener, java.util.List<Plugin> plugins, java.util.List<Plugin.WithPreprocessor> preprocessors)
Creates a new preprocessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.Callable<Plugin.Engine.Dispatcher.Materializable>
call()
-
-
-
Field Detail
-
element
private final Plugin.Engine.Source.Element element
The processed element.
-
typeName
private final java.lang.String typeName
The name of the processed type.
-
classFileLocator
private final ClassFileLocator classFileLocator
The class file locator to use.
-
typePool
private final TypePool typePool
The type pool to use.
-
listener
private final Plugin.Engine.Listener listener
The listener to notify.
-
plugins
private final java.util.List<Plugin> plugins
The plugins to apply.
-
preprocessors
private final java.util.List<Plugin.WithPreprocessor> preprocessors
The plugins with preprocessors to preprocess.
-
-
Constructor Detail
-
Preprocessor
private Preprocessor(Plugin.Engine.Source.Element element, java.lang.String typeName, ClassFileLocator classFileLocator, TypePool typePool, Plugin.Engine.Listener listener, java.util.List<Plugin> plugins, java.util.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 Detail
-
call
public java.util.concurrent.Callable<Plugin.Engine.Dispatcher.Materializable> call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.util.concurrent.Callable<? extends Plugin.Engine.Dispatcher.Materializable>>
- Throws:
java.lang.Exception
-
-