public final class AnnotationUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
getInstance(Class<? extends Annotation> clazz)
Get an instance of a class extracted from the annotation found in the method
or the class.
|
public static Object getInstance(Class<? extends Annotation> clazz) throws ClassNotFoundException
clazz
- The Annotation we want to get an instance forClassNotFoundException
- If we can't find a classCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.