public abstract class AnnotationProcessor<T extends Annotation,D> extends Object
| Constructor and Description |
|---|
AnnotationProcessor(Class<T> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(AnnotatedElement annotatedElement) |
T |
getAnnotation(AnnotatedElement annotatedElement) |
String |
getName(AnnotatedElement annotatedElement) |
abstract String |
getName(T annotation) |
abstract void |
process(D descriptor,
AnnotatedDeclaration annotatedDeclaration,
AnnotatedElement annotatedElement) |
public boolean accept(AnnotatedElement annotatedElement)
public String getName(AnnotatedElement annotatedElement)
public T getAnnotation(AnnotatedElement annotatedElement)
public abstract void process(D descriptor, AnnotatedDeclaration annotatedDeclaration, AnnotatedElement annotatedElement)
Copyright © 2020. All rights reserved.