Class TypePool.Default.ComponentTypeLocator.ForAnnotationProperty.Bound

java.lang.Object
net.bytebuddy.pool.TypePool.Default.ComponentTypeLocator.ForAnnotationProperty.Bound
All Implemented Interfaces:
TypePool.AbstractBase.ComponentTypeReference
Enclosing class:
TypePool.Default.ComponentTypeLocator.ForAnnotationProperty

@Enhance(includeSyntheticFields=true) protected class TypePool.Default.ComponentTypeLocator.ForAnnotationProperty.Bound extends Object implements TypePool.AbstractBase.ComponentTypeReference
  • Field Details

    • name

      private final String name
      The name of the annotation property.
  • Constructor Details

    • Bound

      protected Bound(String name)
      Creates a new bound component type locator for an annotation property.
      Parameters:
      name - The name of the annotation property.
  • Method Details

    • resolve

      public String resolve()
      Lazily resolves the binary name of the array component type of an annotation value.
      Specified by:
      resolve in interface TypePool.AbstractBase.ComponentTypeReference
      Returns:
      The binary name of the component type of the array or null if the referenced type is not an array.