Package net.bytebuddy.pool
Enum TypePool.Default.WithLazyResolution.LazinessMode
java.lang.Object
java.lang.Enum<TypePool.Default.WithLazyResolution.LazinessMode>
net.bytebuddy.pool.TypePool.Default.WithLazyResolution.LazinessMode
- All Implemented Interfaces:
Serializable
,Comparable<TypePool.Default.WithLazyResolution.LazinessMode>
,java.lang.constant.Constable
- Enclosing class:
TypePool.Default.WithLazyResolution
public static enum TypePool.Default.WithLazyResolution.LazinessMode
extends Enum<TypePool.Default.WithLazyResolution.LazinessMode>
Describes the mode of lazy resolution to apply.
-
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 TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NAME
Only resolves the name lazily, but resolves the full class file otherwise. -
EXTENDED
Resolves the name lazily, and does not parse the entire class file as long as only the non-generic names of super class and interfaces, as well as class flags are read.
-
-
Constructor Details
-
LazinessMode
private LazinessMode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-