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 Classes Modifier and Type Interface Description static class
Plugin.Engine.Dispatcher.Materializable.ForFailedElement
A materializable for an element that failed to be transformed.static class
Plugin.Engine.Dispatcher.Materializable.ForRetainedElement
A materializable for an element that is retained in its original state.static class
Plugin.Engine.Dispatcher.Materializable.ForTransformedElement
A materializable for a successfully transformed type.static class
Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
A materializable for an element that could not be resolved.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
materialize(Plugin.Engine.Target.Sink sink, java.util.List<TypeDescription> transformed, java.util.Map<TypeDescription,java.util.List<java.lang.Throwable>> failed, java.util.List<java.lang.String> unresolved)
Materializes this work result and adds any results to the corresponding collection.
-
-
-
Method Detail
-
materialize
void materialize(Plugin.Engine.Target.Sink sink, java.util.List<TypeDescription> transformed, java.util.Map<TypeDescription,java.util.List<java.lang.Throwable>> failed, java.util.List<java.lang.String> unresolved) throws java.io.IOException
Materializes 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:
java.io.IOException
- If an I/O exception occurs.
-
-