public abstract static class TypePool.Default.AnnotationRegistrant.AbstractBase extends Object implements TypePool.Default.AnnotationRegistrant
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.Default.AnnotationRegistrant.AbstractBase.ForTypeVariable
A base implementation for a collector for a type variable.
|
TypePool.Default.AnnotationRegistrant.AbstractBase, TypePool.Default.AnnotationRegistrant.ForByteCodeElement| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBase(String descriptor)
Creates a new annotation registrant.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<TypePool.Default.LazyTypeDescription.AnnotationToken> |
getTokens()
Returns the token list for this collector.
|
void |
onComplete()
Called once all annotation values are visited.
|
void |
register(String name,
AnnotationValue<?,?> annotationValue)
Registers an annotation value.
|
protected AbstractBase(String descriptor)
descriptor - The annotation descriptor.public void register(String name, 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.AnnotationRegistrantprotected abstract List<TypePool.Default.LazyTypeDescription.AnnotationToken> getTokens()
Copyright © 2014–2016. All rights reserved.