Class TypePool.Default.ComponentTypeLocator.ForAnnotationProperty

java.lang.Object
net.bytebuddy.pool.TypePool.Default.ComponentTypeLocator.ForAnnotationProperty
All Implemented Interfaces:
TypePool.Default.ComponentTypeLocator
Enclosing interface:
TypePool.Default.ComponentTypeLocator

@Enhance public static class TypePool.Default.ComponentTypeLocator.ForAnnotationProperty extends Object implements TypePool.Default.ComponentTypeLocator
A component type locator that lazily analyses an annotation for resolving an annotation property's array value's component type.
  • Field Details

    • typePool

      private final TypePool typePool
      The type pool to query for type descriptions.
    • annotationName

      private final String annotationName
      The name of the annotation to analyze.
  • Constructor Details

    • ForAnnotationProperty

      public ForAnnotationProperty(TypePool typePool, String annotationDescriptor)
      Creates a new component type locator for an array value.
      Parameters:
      typePool - The type pool to be used for looking up linked types.
      annotationDescriptor - A descriptor of the annotation to analyze.
  • Method Details