public class Defaults<A extends Annotation> extends Object implements InvocationHandler
Modifier and Type | Field and Description |
---|---|
protected Iterable<A> |
annotations |
Modifier | Constructor and Description |
---|---|
protected |
Defaults() |
protected |
Defaults(Iterable<A> annotations) |
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) |
protected final Iterable<A extends Annotation> annotations
protected Defaults()
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 © 2018 Nuxeo. All rights reserved.