public class Defaults<A extends Annotation> extends Object implements InvocationHandler
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
static <A extends Annotation> |
of(Class<A> annotation) |
static <A extends Annotation> |
of(Class<A> type,
A... annotations) |
static <A extends Annotation> |
of(Class<A> type,
Iterable<A> annotations) |
public static <A extends Annotation> A of(Class<A> annotation)
public static <A extends Annotation> A of(Class<A> type, Iterable<A> annotations)
@SafeVarargs public static <A extends Annotation> A of(Class<A> type, A... annotations)
Copyright © 2015 Nuxeo SA. All rights reserved.