@HashCodeAndEqualsPlugin.Enhance public static class TypePool.Default.ComponentTypeLocator.ForArrayType extends Object implements TypePool.Default.ComponentTypeLocator, TypePool.AbstractBase.ComponentTypeReference
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty, TypePool.Default.ComponentTypeLocator.ForArrayType, TypePool.Default.ComponentTypeLocator.IllegalNO_ARRAY| Constructor and Description |
|---|
ForArrayType(String methodDescriptor)
Creates a new component type locator for an array type.
|
| Modifier and Type | Method and Description |
|---|---|
TypePool.AbstractBase.ComponentTypeReference |
bind(String name)
Binds this component type to a given property name of an annotation.
|
String |
resolve()
Lazily resolves the binary name of the array component type of an annotation value.
|
public ForArrayType(String methodDescriptor)
methodDescriptor - The method descriptor to resolve.public TypePool.AbstractBase.ComponentTypeReference bind(String name)
bind in interface TypePool.Default.ComponentTypeLocatorname - The name of an annotation property which the returned component type reference should
query for resolving an array's component type.public String resolve()
resolve in interface TypePool.AbstractBase.ComponentTypeReferencenull if the referenced type is not an array.Copyright © 2014–2025. All rights reserved.