Package net.bytebuddy.build
Interface Plugin.Engine.Dispatcher.Materializable
- All Known Implementing Classes:
Plugin.Engine.Dispatcher.Materializable.ForFailedElement
,Plugin.Engine.Dispatcher.Materializable.ForRetainedElement
,Plugin.Engine.Dispatcher.Materializable.ForTransformedElement
,Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
- Enclosing interface:
- Plugin.Engine.Dispatcher
public static interface Plugin.Engine.Dispatcher.Materializable
The result of a work assignment that needs to be invoked from the main thread that triggers a dispatchers life-cycle methods.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A materializable for an element that failed to be transformed.static class
A materializable for an element that is retained in its original state.static class
A materializable for a successfully transformed type.static class
A materializable for an element that could not be resolved. -
Method Summary
Modifier and TypeMethodDescriptionvoid
materialize
(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.
-
Method Details
-
materialize
void materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) throws IOExceptionMaterializes this work result and adds any results to the corresponding collection.- Parameters:
sink
- The sink to write any work to.transformed
- A list of all types that are transformed.failed
- A mapping of all types that failed during transformation to the exceptions that explain the failure.unresolved
- A list of type names that could not be resolved.- Throws:
IOException
- If an I/O exception occurs.
-