Package net.bytebuddy.build
Enum Class Plugin.Engine.Dispatcher.ForSerialTransformation.Factory
java.lang.Object
java.lang.Enum<Plugin.Engine.Dispatcher.ForSerialTransformation.Factory>
net.bytebuddy.build.Plugin.Engine.Dispatcher.ForSerialTransformation.Factory
- All Implemented Interfaces:
Serializable
,Comparable<Plugin.Engine.Dispatcher.ForSerialTransformation.Factory>
,Constable
,Plugin.Engine.Dispatcher.Factory
- Enclosing class:
- Plugin.Engine.Dispatcher.ForSerialTransformation
public static enum Plugin.Engine.Dispatcher.ForSerialTransformation.Factory
extends Enum<Plugin.Engine.Dispatcher.ForSerialTransformation.Factory>
implements Plugin.Engine.Dispatcher.Factory
A factory for creating a serial dispatcher.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmake
(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
Factory
private Factory()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
make
public Plugin.Engine.Dispatcher make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.- Specified by:
make
in interfacePlugin.Engine.Dispatcher.Factory
- 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.- Returns:
- The dispatcher to use.
-