protected class TypePool.Default.TypeExtractor.FieldExtractor.OnFieldCollector extends Object implements TypePool.Default.AnnotationRegistrant
Modifier | Constructor and Description |
---|---|
protected |
OnFieldCollector(String descriptor)
Creates a new annotation field registrant.
|
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 OnFieldCollector(String descriptor)
descriptor
- The descriptor of the annotation.public void register(String name, AnnotationDescription.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–2015. All rights reserved.