public final class Annotations extends Object
| Modifier and Type | Method and Description |
|---|---|
static <A extends Annotation> |
instanceOf(Class<A> annotationType,
Map<String,?> elements)
Create an annotation instance.
|
public static <A extends Annotation> A instanceOf(Class<A> annotationType, Map<String,?> elements)
A - generic annotation typeannotationType - typeelements - valuesACopyright © 2018 The Apache Software Foundation. All rights reserved.