Package net.bytebuddy.pool
Enum TypePool.Default.ComponentTypeLocator.Illegal
java.lang.Object
java.lang.Enum<TypePool.Default.ComponentTypeLocator.Illegal>
net.bytebuddy.pool.TypePool.Default.ComponentTypeLocator.Illegal
- All Implemented Interfaces:
Serializable
,Comparable<TypePool.Default.ComponentTypeLocator.Illegal>
,java.lang.constant.Constable
,TypePool.Default.ComponentTypeLocator
- Enclosing interface:
TypePool.Default.ComponentTypeLocator
public static enum TypePool.Default.ComponentTypeLocator.Illegal
extends Enum<TypePool.Default.ComponentTypeLocator.Illegal>
implements TypePool.Default.ComponentTypeLocator
A component type locator which cannot legally resolve an array's component type.
-
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.pool.TypePool.Default.ComponentTypeLocator
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty, TypePool.Default.ComponentTypeLocator.ForArrayType, TypePool.Default.ComponentTypeLocator.Illegal
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBinds this component type to a given property name of an annotation.Returns 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
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
Illegal
private Illegal()
-
-
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
-
bind
Binds this component type to a given property name of an annotation.- Specified by:
bind
in interfaceTypePool.Default.ComponentTypeLocator
- Parameters:
name
- The name of an annotation property which the returned component type reference should query for resolving an array's component type.- Returns:
- A component type reference to an annotation value's component type.
-