Package com.google.inject.internal
Class ExposureBuilder<T>
- java.lang.Object
-
- com.google.inject.internal.ExposureBuilder<T>
-
- All Implemented Interfaces:
AnnotatedElementBuilder
public class ExposureBuilder<T> extends Object implements AnnotatedElementBuilder
For private binder's expose() method.
-
-
Constructor Summary
Constructors Constructor Description ExposureBuilder(Binder binder, Object source, Key<T> key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidannotatedWith(Annotation annotation)See the EDSL examples atBinder.voidannotatedWith(Class<? extends Annotation> annotationType)See the EDSL examples atBinder.protected voidcheckNotAnnotated()Key<?>getKey()ObjectgetSource()StringtoString()
-
-
-
Method Detail
-
checkNotAnnotated
protected void checkNotAnnotated()
-
annotatedWith
public void annotatedWith(Class<? extends Annotation> annotationType)
Description copied from interface:AnnotatedElementBuilderSee the EDSL examples atBinder.- Specified by:
annotatedWithin interfaceAnnotatedElementBuilder
-
annotatedWith
public void annotatedWith(Annotation annotation)
Description copied from interface:AnnotatedElementBuilderSee the EDSL examples atBinder.- Specified by:
annotatedWithin interfaceAnnotatedElementBuilder
-
getKey
public Key<?> getKey()
-
getSource
public Object getSource()
-
-