org.elasticsearch.util.inject.internal
Class ExposureBuilder<T>
java.lang.Object
org.elasticsearch.util.inject.internal.ExposureBuilder<T>
- All Implemented Interfaces:
- AnnotatedElementBuilder
public class ExposureBuilder<T>
- extends java.lang.Object
- implements AnnotatedElementBuilder
For private binder's expose() method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExposureBuilder
public ExposureBuilder(Binder binder,
java.lang.Object source,
Key<T> key)
checkNotAnnotated
protected void checkNotAnnotated()
annotatedWith
public void annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Description copied from interface:
AnnotatedElementBuilder
- See the EDSL examples at
Binder
.
- Specified by:
annotatedWith
in interface AnnotatedElementBuilder
annotatedWith
public void annotatedWith(java.lang.annotation.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 java.lang.Object getSource()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object