@HashCodeAndEqualsPlugin.Enhance public static class TypePool.Default.ComponentTypeLocator.ForArrayType extends java.lang.Object implements TypePool.Default.ComponentTypeLocator, TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty, TypePool.Default.ComponentTypeLocator.ForArrayType, TypePool.Default.ComponentTypeLocator.Illegal
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
componentType
The resolved component type's binary name.
|
Constructor and Description |
---|
ForArrayType(java.lang.String methodDescriptor)
Creates a new component type locator for an array type.
|
Modifier and Type | Method and Description |
---|---|
TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference |
bind(java.lang.String name)
Binds this component type to a given property name of an annotation.
|
java.lang.String |
lookup()
Lazily returns the binary name of the array component type of an annotation value.
|
private final java.lang.String componentType
public ForArrayType(java.lang.String methodDescriptor)
methodDescriptor
- The method descriptor to resolve.public TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference bind(java.lang.String name)
bind
in interface TypePool.Default.ComponentTypeLocator
name
- The name of an annotation property which the returned component type reference should
query for resolving an array's component type.public java.lang.String lookup()
lookup
in interface TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference