public class ExposureBuilder<T> extends java.lang.Object implements AnnotatedElementBuilder
Constructor and Description |
---|
ExposureBuilder(Binder binder,
java.lang.Object source,
Key<T> key) |
Modifier and Type | Method and Description |
---|---|
void |
annotatedWith(java.lang.annotation.Annotation annotation)
See the EDSL examples at
Binder . |
void |
annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
See the EDSL examples at
Binder . |
protected void |
checkNotAnnotated() |
Key<?> |
getKey() |
java.lang.Object |
getSource() |
java.lang.String |
toString() |
protected void checkNotAnnotated()
public void annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotatedElementBuilder
Binder
.annotatedWith
in interface AnnotatedElementBuilder
public void annotatedWith(java.lang.annotation.Annotation annotation)
AnnotatedElementBuilder
Binder
.annotatedWith
in interface AnnotatedElementBuilder
public Key<?> getKey()
public java.lang.Object getSource()
public java.lang.String toString()
toString
in class java.lang.Object