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 void
annotatedWith(Annotation annotation)
See the EDSL examples atBinder
.void
annotatedWith(Class<? extends Annotation> annotationType)
See the EDSL examples atBinder
.protected void
checkNotAnnotated()
Key<?>
getKey()
Object
getSource()
String
toString()
-
-
-
Method Detail
-
checkNotAnnotated
protected void checkNotAnnotated()
-
annotatedWith
public void annotatedWith(Class<? extends Annotation> annotationType)
Description copied from interface:AnnotatedElementBuilder
See the EDSL examples atBinder
.- Specified by:
annotatedWith
in interfaceAnnotatedElementBuilder
-
annotatedWith
public void annotatedWith(Annotation annotation)
Description copied from interface:AnnotatedElementBuilder
See the EDSL examples atBinder
.- Specified by:
annotatedWith
in interfaceAnnotatedElementBuilder
-
getKey
public Key<?> getKey()
-
getSource
public Object getSource()
-
-