protected class TypePool.Default.TypeExtractor.OnTypeCollector extends Object implements TypePool.Default.AnnotationRegistrant
| Modifier | Constructor and Description |
|---|---|
protected |
OnTypeCollector(String descriptor)
Creates a new on type collector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Called once all annotation values are visited.
|
void |
register(String name,
AnnotationDescription.AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
String |
toString() |
protected OnTypeCollector(String descriptor)
descriptor - The descriptor of the annotation that is being collected.public void register(String name, AnnotationDescription.AnnotationValue<?,?> annotationValue)
TypePool.Default.AnnotationRegistrantregister in interface TypePool.Default.AnnotationRegistrantname - The name of the annotation value.annotationValue - The value of the annotation.public void onComplete()
TypePool.Default.AnnotationRegistrantonComplete in interface TypePool.Default.AnnotationRegistrantCopyright © 2014–2015. All rights reserved.