public class AnnotationLiteral extends Object
Annotation subtypes
with values that are only determined at runtime.
This factory helps you do that.| Constructor and Description |
|---|
AnnotationLiteral() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
of(Class<T> type) |
static <T extends Annotation> |
of(Class<T> type,
Map<String,?> values) |
static <T extends Annotation> |
of(Class<T> type,
Object value) |
static <T extends Annotation> |
of(Class<T> type,
String key,
Object value) |
public static <T extends Annotation> T of(Class<T> type)
public static <T extends Annotation> T of(Class<T> type, Object value)
public static <T extends Annotation> T of(Class<T> type, String key, Object value)
public static <T extends Annotation> T of(Class<T> type, Map<String,?> values)
Copyright © 2011-2013. All Rights Reserved.