public class ExposureBuilder<T> extends Object implements AnnotatedElementBuilder
| Constructor and Description |
|---|
ExposureBuilder(Binder binder,
Object source,
Key<T> key) |
| Modifier and Type | Method and Description |
|---|---|
void |
annotatedWith(Annotation annotation)
See the EDSL examples at
Binder. |
void |
annotatedWith(Class<? extends Annotation> annotationType)
See the EDSL examples at
Binder. |
protected void |
checkNotAnnotated() |
Key<?> |
getKey() |
Object |
getSource() |
String |
toString() |
protected void checkNotAnnotated()
public void annotatedWith(Class<? extends Annotation> annotationType)
AnnotatedElementBuilderBinder.annotatedWith in interface AnnotatedElementBuilderpublic void annotatedWith(Annotation annotation)
AnnotatedElementBuilderBinder.annotatedWith in interface AnnotatedElementBuilderpublic Key<?> getKey()
public Object getSource()
Copyright © 2006–2018 Google, Inc.. All rights reserved.