protected class TypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup extends Object implements TypePool.Default.AnnotationRegistrant
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement, TypePool.Default.AnnotationRegistrant.ForTypeVariable| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationLookup(String descriptor,
String name)
Creates a new annotation registrant for a recursive annotation lookup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Called once all annotation values are visited.
|
void |
register(String name,
AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
protected AnnotationLookup(String descriptor, String name)
name - The name of the original annotation for which the annotation values are looked up.descriptor - The descriptor of the original annotation for which the annotation values are looked up.public void register(String name, AnnotationValue<?,?> annotationValue)
register in interface TypePool.Default.AnnotationRegistrantname - 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.