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)
AnnotatedElementBuilder
Binder
.annotatedWith
in interface AnnotatedElementBuilder
public void annotatedWith(Annotation annotation)
AnnotatedElementBuilder
Binder
.annotatedWith
in interface AnnotatedElementBuilder
public Key<?> getKey()
public Object getSource()
Copyright © 2006-2016 Google, Inc.. All Rights Reserved.