org.elasticsearch.common.inject.internal
Class ExposureBuilder<T>
java.lang.Object
org.elasticsearch.common.inject.internal.ExposureBuilder<T>
- All Implemented Interfaces:
- AnnotatedElementBuilder
public class ExposureBuilder<T>
- extends Object
- implements AnnotatedElementBuilder
For private binder's expose() method.
ExposureBuilder
public ExposureBuilder(Binder binder,
Object source,
Key<T> key)
checkNotAnnotated
protected void checkNotAnnotated()
annotatedWith
public void annotatedWith(Class<? extends Annotation> annotationType)
- Description copied from interface:
AnnotatedElementBuilder
- See the EDSL examples at
Binder
.
- Specified by:
annotatedWith
in interface AnnotatedElementBuilder
annotatedWith
public void annotatedWith(Annotation annotation)
- Description copied from interface:
AnnotatedElementBuilder
- See the EDSL examples at
Binder
.
- Specified by:
annotatedWith
in interface AnnotatedElementBuilder
getKey
public Key<?> getKey()
getSource
public Object getSource()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012. All Rights Reserved.