Package net.bytebuddy.pool
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.AnnotationRegistrantAn annotation registrant implements a visitor pattern for reading an unknown amount of values of annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypePool.Default.AnnotationRegistrant.AbstractBaseAn abstract base implementation of an annotation registrant.static classTypePool.Default.AnnotationRegistrant.ForByteCodeElementAn annotation collector for a byte code element.static classTypePool.Default.AnnotationRegistrant.ForTypeVariableAn annotation collector for a type variable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonComplete()Called once all annotation values are visited.voidregister(java.lang.String name, AnnotationValue<?,?> annotationValue)Registers an annotation value.
-
-
-
Method Detail
-
register
void register(java.lang.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.
-
-