protected class TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup extends Object implements TypePool.Default.AnnotationRegistrant
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement, TypePool.Default.AnnotationRegistrant.ForTypeVariable| Modifier | Constructor and Description |
|---|---|
protected |
ArrayLookup(String name,
TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference)
Creates a new annotation registrant for an array lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Called once all annotation values are visited.
|
void |
register(String ignored,
AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
protected ArrayLookup(String name, TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference)
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.public void register(String ignored, AnnotationValue<?,?> annotationValue)
register in interface TypePool.Default.AnnotationRegistrantignored - The name of the annotation value.annotationValue - The value of the annotation.public void onComplete()
onComplete in interface TypePool.Default.AnnotationRegistrantCopyright © 2014–2019. All rights reserved.