Package net.bytebuddy.build
Enum 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:
java.io.Serializable
,java.lang.Comparable<Plugin.Engine.Dispatcher.ForSerialTransformation.Factory>
,Plugin.Engine.Dispatcher.Factory
- Enclosing class:
- Plugin.Engine.Dispatcher.ForSerialTransformation
public static enum Plugin.Engine.Dispatcher.ForSerialTransformation.Factory extends java.lang.Enum<Plugin.Engine.Dispatcher.ForSerialTransformation.Factory> implements Plugin.Engine.Dispatcher.Factory
A factory for creating a serial dispatcher.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
Factory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin.Engine.Dispatcher
make(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)
Creates a new dispatcher.static Plugin.Engine.Dispatcher.ForSerialTransformation.Factory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Plugin.Engine.Dispatcher.ForSerialTransformation.Factory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Plugin.Engine.Dispatcher.ForSerialTransformation.Factory INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static Plugin.Engine.Dispatcher.ForSerialTransformation.Factory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Plugin.Engine.Dispatcher.ForSerialTransformation.Factory c : Plugin.Engine.Dispatcher.ForSerialTransformation.Factory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Plugin.Engine.Dispatcher.ForSerialTransformation.Factory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
make
public Plugin.Engine.Dispatcher make(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)
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.
-
-