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.AnnotationRegistrant
An 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 class
TypePool.Default.AnnotationRegistrant.AbstractBase
An abstract base implementation of an annotation registrant.static class
TypePool.Default.AnnotationRegistrant.ForByteCodeElement
An annotation collector for a byte code element.static class
TypePool.Default.AnnotationRegistrant.ForTypeVariable
An annotation collector for a type variable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onComplete()
Called once all annotation values are visited.void
register(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.
-
-