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:
java.io.Serializable
,java.lang.Comparable<TypePool.Default.WithLazyResolution.LazinessMode>
- Enclosing class:
- TypePool.Default.WithLazyResolution
public static enum TypePool.Default.WithLazyResolution.LazinessMode extends java.lang.Enum<TypePool.Default.WithLazyResolution.LazinessMode>
Describes the mode of lazy resolution to apply.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.NAME
Only resolves the name lazily, but resolves the full class file otherwise.
-
Constructor Summary
Constructors Modifier Constructor Description private
LazinessMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypePool.Default.WithLazyResolution.LazinessMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypePool.Default.WithLazyResolution.LazinessMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final TypePool.Default.WithLazyResolution.LazinessMode NAME
Only resolves the name lazily, but resolves the full class file otherwise.
-
EXTENDED
public static final TypePool.Default.WithLazyResolution.LazinessMode 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.
-
-
Method Detail
-
values
public static TypePool.Default.WithLazyResolution.LazinessMode[] 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 (TypePool.Default.WithLazyResolution.LazinessMode c : TypePool.Default.WithLazyResolution.LazinessMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypePool.Default.WithLazyResolution.LazinessMode 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
-
-