@Module public class ProducesBuilder extends java.lang.Object
Constructor and Description |
---|
ProducesBuilder(InjectManager manager) |
Modifier and Type | Method and Description |
---|---|
protected <X> void |
addProduces(Bean<X> bean,
AnnotatedType<X> beanType,
AnnotatedField<?> beanField) |
protected <X,T> void |
addProducesMethod(Bean<X> bean,
AnnotatedType<X> beanType,
AnnotatedMethod<? super X> producesMethod,
AnnotatedMethod<? super X> disposesMethod) |
protected <X,T> Arg<T>[] |
introspectArguments(Bean<X> bean,
AnnotatedMethod<T> method) |
protected <X> Arg<X>[] |
introspectDisposesArgs(AnnotatedMethod<?> method,
java.util.List<AnnotatedParameter<X>> params) |
<X> void |
introspectProduces(Bean<X> bean,
AnnotatedType<X> beanType)
Introspects the methods for any @Produces
|
protected boolean |
isDisposes(AnnotatedMethod<?> method) |
public ProducesBuilder(InjectManager manager)
public <X> void introspectProduces(Bean<X> bean, AnnotatedType<X> beanType)
protected <X,T> void addProducesMethod(Bean<X> bean, AnnotatedType<X> beanType, AnnotatedMethod<? super X> producesMethod, AnnotatedMethod<? super X> disposesMethod)
protected <X> void addProduces(Bean<X> bean, AnnotatedType<X> beanType, AnnotatedField<?> beanField)
protected <X,T> Arg<T>[] introspectArguments(Bean<X> bean, AnnotatedMethod<T> method)
protected <X> Arg<X>[] introspectDisposesArgs(AnnotatedMethod<?> method, java.util.List<AnnotatedParameter<X>> params)
protected boolean isDisposes(AnnotatedMethod<?> method)