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