Interface TypePool.Default.AnnotationRegistrant

All Known Implementing Classes:
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable, TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex, TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable.WithIndex.DoubleIndexed, TypePool.Default.AnnotationRegistrant.ForByteCodeElement, TypePool.Default.AnnotationRegistrant.ForByteCodeElement.WithIndex, TypePool.Default.AnnotationRegistrant.ForTypeVariable, TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex, TypePool.Default.AnnotationRegistrant.ForTypeVariable.WithIndex.DoubleIndexed, TypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup, TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup, TypePool.Default.TypeExtractor.MethodExtractor
Enclosing class:
TypePool.Default

protected static interface TypePool.Default.AnnotationRegistrant
An annotation registrant implements a visitor pattern for reading an unknown amount of values of annotations.
  • Method Details

    • register

      void register(String name, AnnotationValue<?,?> annotationValue)
      Registers an annotation value.
      Parameters:
      name - The name of the annotation value.
      annotationValue - The value of the annotation.
    • onComplete

      void onComplete()
      Called once all annotation values are visited.