Package net.bytebuddy.build
Class Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
- java.lang.Object
-
- net.bytebuddy.build.Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
-
- All Implemented Interfaces:
Plugin.Engine.Dispatcher.Materializable
- Enclosing interface:
- Plugin.Engine.Dispatcher.Materializable
public static class Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement extends Object implements Plugin.Engine.Dispatcher.Materializable
A materializable for an element that could not be resolved.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Engine.Dispatcher.Materializable
Plugin.Engine.Dispatcher.Materializable.ForFailedElement, Plugin.Engine.Dispatcher.Materializable.ForRetainedElement, Plugin.Engine.Dispatcher.Materializable.ForTransformedElement, Plugin.Engine.Dispatcher.Materializable.ForUnresolvedElement
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ForUnresolvedElement(Plugin.Engine.Source.Element element, String typeName)
Creates a new materializable for an element that could not be resolved.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Constructor Detail
-
ForUnresolvedElement
protected ForUnresolvedElement(Plugin.Engine.Source.Element element, String typeName)
Creates a new materializable for an element that could not be resolved.- Parameters:
element
- The element that could not be resolved.typeName
- The name of the type that was deducted for this element.
-
-
Method Detail
-
materialize
public void materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved) throws IOException
Materializes this work result and adds any results to the corresponding collection.- Specified by:
materialize
in interfacePlugin.Engine.Dispatcher.Materializable
- 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.
-
-