Package net.bytebuddy.agent.builder
Enum Class AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass
java.lang.Object
java.lang.Enum<AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass>
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass
- All Implemented Interfaces:
Serializable
,Comparable<AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass>
,Constable
,AgentBuilder.RedefinitionStrategy.DiscoveryStrategy
- Enclosing interface:
- AgentBuilder.RedefinitionStrategy.DiscoveryStrategy
public static enum AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass
extends Enum<AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass>
implements AgentBuilder.RedefinitionStrategy.DiscoveryStrategy
A discovery strategy that considers all loaded types supplied by
Instrumentation.getAllLoadedClasses()
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.DiscoveryStrategy
AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Explicit, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.Reiterating, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy.SinglePass
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(Instrumentation instrumentation) Resolves an iterable of types to retransform.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
-
SinglePass
private SinglePass()
-
-
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
-
resolve
Resolves an iterable of types to retransform. Types might be loaded during a previous retransformation which might require multiple passes for a retransformation.- Specified by:
resolve
in interfaceAgentBuilder.RedefinitionStrategy.DiscoveryStrategy
- Parameters:
instrumentation
- The instrumentation instance used for the redefinition.- Returns:
- An iterable of types to consider for retransformation.
-