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:
java.io.Serializable
,java.lang.Comparable<TypePool.Default.ComponentTypeLocator.Illegal>
,TypePool.Default.ComponentTypeLocator
- Enclosing interface:
- TypePool.Default.ComponentTypeLocator
public static enum TypePool.Default.ComponentTypeLocator.Illegal extends java.lang.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 interface net.bytebuddy.pool.TypePool.Default.ComponentTypeLocator
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty, TypePool.Default.ComponentTypeLocator.ForArrayType, TypePool.Default.ComponentTypeLocator.Illegal
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
Illegal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TypePool.AbstractBase.ComponentTypeReference
bind(java.lang.String name)
Binds this component type to a given property name of an annotation.static TypePool.Default.ComponentTypeLocator.Illegal
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypePool.Default.ComponentTypeLocator.Illegal[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final TypePool.Default.ComponentTypeLocator.Illegal INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static TypePool.Default.ComponentTypeLocator.Illegal[] 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.ComponentTypeLocator.Illegal c : TypePool.Default.ComponentTypeLocator.Illegal.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.ComponentTypeLocator.Illegal 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
-
bind
public TypePool.AbstractBase.ComponentTypeReference bind(java.lang.String name)
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.
-
-