Interface TypePool.Default.ComponentTypeLocator
- All Known Implementing Classes:
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty, TypePool.Default.ComponentTypeLocator.ForArrayType, TypePool.Default.ComponentTypeLocator.Illegal
- Enclosing class:
TypePool.Default
protected static interface TypePool.Default.ComponentTypeLocator
A component type locator allows for the lazy location of an array's component type.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA component type locator that lazily analyses an annotation for resolving an annotation property's array value's component type.static classA component type locator that locates an array type by a method's return value from its method descriptor.static enumA component type locator which cannot legally resolve an array's component type. -
Method Summary
Modifier and TypeMethodDescriptionBinds this component type to a given property name of an annotation.
-
Method Details
-
bind
Binds this component type to a given property name of an annotation.- 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.
-