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,
TypePool.LazyTypeDescription.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, TypePool.LazyTypeDescription.AnnotationValue<?,?> annotationValue)
TypePool.Default.AnnotationRegistrant
register
in interface TypePool.Default.AnnotationRegistrant
name
- 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. All rights reserved.