Class Plugin.Engine.Dispatcher.Materializable.ForTransformedElement

    • Field Detail

      • dynamicType

        private final DynamicType dynamicType
        The type that has been transformed.
    • Constructor Detail

      • ForTransformedElement

        protected ForTransformedElement​(DynamicType dynamicType)
        Creates a new materializable for a successfully transformed type.
        Parameters:
        dynamicType - The type that has been transformed.
    • Method Detail

      • materialize

        public 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.
        Specified by:
        materialize in interface Plugin.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:
        java.io.IOException - If an I/O exception occurs.