public final class AnnotationUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
AnnotationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
getInstance(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Get an instance of a class extracted from the annotation found in the method
or the class.
|
public static java.lang.Object getInstance(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
throws java.lang.ClassNotFoundException
clazz - The Annotation we want to get an instance forjava.lang.ClassNotFoundException - If we can't find a class