public static class TypePool.Default.ComponentTypeLocator.ForArrayType extends Object implements TypePool.Default.ComponentTypeLocator, TypePool.AbstractBase.RawNonPrimitiveArray.ComponentTypeReference
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty, TypePool.Default.ComponentTypeLocator.ForArrayType, TypePool.Default.ComponentTypeLocator.Illegal
Constructor and Description |
---|
ForArrayType(String methodDescriptor)
Creates a new component type locator for an array type.
|
Modifier and Type | Method and Description |
---|---|
TypePool.AbstractBase.RawNonPrimitiveArray.ComponentTypeReference |
bind(String name)
Binds this component type to a given property name of an annotation.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
lookup()
Lazily returns the binary name of the array component type of an annotation value.
|
String |
toString() |
public ForArrayType(String methodDescriptor)
methodDescriptor
- The method descriptor to resolve.public TypePool.AbstractBase.RawNonPrimitiveArray.ComponentTypeReference bind(String name)
TypePool.Default.ComponentTypeLocator
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 String lookup()
TypePool.AbstractBase.RawNonPrimitiveArray.ComponentTypeReference
lookup
in interface TypePool.AbstractBase.RawNonPrimitiveArray.ComponentTypeReference
Copyright © 2014–2016. All rights reserved.