Package net.bytebuddy.pool
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 Classes Modifier and Type Interface Description static class
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty
A component type locator that lazily analyses an annotation for resolving an annotation property's array value's component type.static class
TypePool.Default.ComponentTypeLocator.ForArrayType
A component type locator that locates an array type by a method's return value from its method descriptor.static class
TypePool.Default.ComponentTypeLocator.Illegal
A component type locator which cannot legally resolve an array's component type.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
bind
TypePool.AbstractBase.ComponentTypeReference bind(java.lang.String name)
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.
-
-