Package net.bytebuddy.agent.builder
Enum AgentBuilder.Default.Transformation.Resolution.Sort
- java.lang.Object
-
- java.lang.Enum<AgentBuilder.Default.Transformation.Resolution.Sort>
-
- net.bytebuddy.agent.builder.AgentBuilder.Default.Transformation.Resolution.Sort
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AgentBuilder.Default.Transformation.Resolution.Sort>
- Enclosing interface:
- AgentBuilder.Default.Transformation.Resolution
public static enum AgentBuilder.Default.Transformation.Resolution.Sort extends java.lang.Enum<AgentBuilder.Default.Transformation.Resolution.Sort>
Describes a specific sort of aAgentBuilder.Default.Transformation.Resolution
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isAlive()
Returnstrue
if this resolution is alive.static AgentBuilder.Default.Transformation.Resolution.Sort
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AgentBuilder.Default.Transformation.Resolution.Sort[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERMINAL
public static final AgentBuilder.Default.Transformation.Resolution.Sort TERMINAL
A terminal resolution. After discovering such a resolution, no further transformers are considered.
-
DECORATOR
public static final AgentBuilder.Default.Transformation.Resolution.Sort DECORATOR
A resolution that can serve as a decorator for another resolution. After discovering such a resolution further transformations are considered where the represented resolution is prepended if applicable.
-
UNDEFINED
public static final AgentBuilder.Default.Transformation.Resolution.Sort UNDEFINED
A non-resolved resolution.
-
-
Method Detail
-
values
public static AgentBuilder.Default.Transformation.Resolution.Sort[] 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 (AgentBuilder.Default.Transformation.Resolution.Sort c : AgentBuilder.Default.Transformation.Resolution.Sort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentBuilder.Default.Transformation.Resolution.Sort 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
-
isAlive
protected boolean isAlive()
Returnstrue
if this resolution is alive.- Returns:
true
if this resolution is alive.
-
-