public abstract class PrintingAnnotationMonitor extends Object implements AnnotationMonitor
Constructor and Description |
---|
PrintingAnnotationMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
annotationNotFound(Class<? extends Annotation> annotation,
Object annotatedInstance) |
void |
elementCreationFailed(Class<?> elementClass,
Exception cause) |
protected abstract void |
print(String format,
Object... args) |
protected abstract void |
printStackTrace(Throwable e) |
public void elementCreationFailed(Class<?> elementClass, Exception cause)
elementCreationFailed
in interface AnnotationMonitor
public void annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)
annotationNotFound
in interface AnnotationMonitor
protected abstract void printStackTrace(Throwable e)
Copyright © 2003–2021. All rights reserved.