public class AnnotationBuilder<A extends Annotation> extends StubBuilder<A>
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
buildDefault(Class<A> type) |
static <A extends Annotation> |
of(Class<A> type) |
static <A extends Annotation> |
of(Class<A> type,
A target) |
static <A extends Annotation> |
of(Class<A> type,
ObjectProvider<? extends A> provider) |
<O> AnnotationBuilder<A> |
train(BaseTrainer<?,O> trainer) |
AnnotationBuilder<A> |
withMembers(Map<String,?> members) |
addProxyTypes, build
public static <A extends Annotation> A buildDefault(Class<A> type)
public static <A extends Annotation> AnnotationBuilder<A> of(Class<A> type)
public static <A extends Annotation> AnnotationBuilder<A> of(Class<A> type, ObjectProvider<? extends A> provider)
public static <A extends Annotation> AnnotationBuilder<A> of(Class<A> type, A target)
public AnnotationBuilder<A> withMembers(Map<String,?> members)
public <O> AnnotationBuilder<A> train(BaseTrainer<?,O> trainer)
train
in class StubBuilder<A extends Annotation>
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.