Top Description Fields Constructors Methods
com.google.inject.internal

public Class ExposureBuilder<T>

extends Object
implements AnnotatedElementBuilder
Class Inheritance
All Implemented Interfaces
com.google.inject.binder.AnnotatedElementBuilder
Imports
com.google.common.base.Preconditions, com.google.inject.Binder, .Key, com.google.inject.binder.AnnotatedElementBuilder, java.lang.annotation.Annotation

For private binder's expose() method.

Field Summary

Modifier and TypeField and Description
private final Binder
private Key<T>
private final Object

Constructor Summary

AccessConstructor and Description
public
ExposureBuilder(Binder binder, Object source, Key<T> key)

Method Summary

Modifier and TypeMethod and Description
public void
public void
protected void
public Key<?>
public Object
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

binderback to summary
private final Binder binder
keyback to summary
private Key<T> key
sourceback to summary
private final Object source

Constructor Detail

ExposureBuilderback to summary
public ExposureBuilder(Binder binder, Object source, Key<T> key)

Method Detail

annotatedWithback to summary
public void annotatedWith(Class<? extends Annotation> annotationType)

Implements com.google.inject.binder.AnnotatedElementBuilder.annotatedWith.

Doc from com.google.inject.binder.AnnotatedElementBuilder.annotatedWith.

See the EDSL examples at com.google.inject.Binder.

Annotations
@Override
annotatedWithback to summary
public void annotatedWith(Annotation annotation)

Implements com.google.inject.binder.AnnotatedElementBuilder.annotatedWith.

Doc from com.google.inject.binder.AnnotatedElementBuilder.annotatedWith.

See the EDSL examples at com.google.inject.Binder.

Annotations
@Override
checkNotAnnotatedback to summary
protected void checkNotAnnotated()
getKeyback to summary
public Key<?> getKey()
getSourceback to summary
public Object getSource()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override