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)
TypePool.Default.AnnotationRegistrant
register
in interface TypePool.Default.AnnotationRegistrant
ignored
- The name of the annotation value.annotationValue
- The value of the annotation.public void onComplete()
TypePool.Default.AnnotationRegistrant
onComplete
in interface TypePool.Default.AnnotationRegistrant
Copyright © 2014–2017. All rights reserved.