Class TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup

java.lang.Object
net.bytebuddy.pool.TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup
All Implemented Interfaces:
TypePool.Default.AnnotationRegistrant
Enclosing class:
TypePool.Default.TypeExtractor.AnnotationExtractor

protected class TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup extends Object implements TypePool.Default.AnnotationRegistrant
An annotation registrant for registering values of an array.
  • Field Details

    • name

      private final String name
      The name of the annotation property the collected array is representing.
    • componentTypeReference

      private final TypePool.AbstractBase.ComponentTypeReference componentTypeReference
      A lazy reference to resolve the component type of the collected array.
    • values

      private final List<AnnotationValue<?,?>> values
      A list of all annotation values that are found on this array.
  • Constructor Details

    • ArrayLookup

      private ArrayLookup(String name, TypePool.AbstractBase.ComponentTypeReference componentTypeReference)
      Creates a new annotation registrant for an array lookup.
      Parameters:
      name - The name of the annotation property the collected array is representing.
      componentTypeReference - A lazy reference to resolve the component type of the collected array.
  • Method Details