Binder#scanModulesForAnnotatedMethods in a module.
| Modifier and Type | Field and Description |
|---|---|
| private final ModuleAnnotatedMethodScanner | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | acceptVisitor(ElementVisitor<T>
to call back on visitor)Implements com. |
| public void | applyTo(Binder
to apply configuration element to binder)Implements com. |
| public ModuleAnnotatedMethodScanner | |
| public Object | getSource()
Implements com. |
| public String |
| scanner | back to summary |
|---|---|
| private final ModuleAnnotatedMethodScanner scanner | |
| source | back to summary |
|---|---|
| private final Object source | |
| ModuleAnnotatedMethodScannerBinding | back to summary |
|---|---|
| public ModuleAnnotatedMethodScannerBinding(Object source, ModuleAnnotatedMethodScanner scanner) | |
| acceptVisitor | back to summary |
|---|---|
| public <T> T acceptVisitor(ElementVisitor<T> visitor) Implements com. Doc from com. Accepts an element visitor. Invokes the visitor method specific to this element's type.
| |
| applyTo | back to summary |
|---|---|
| public void applyTo(Binder binder) Implements com. Doc from com. Writes this module element to the given binder (optional operation). | |
| getScanner | back to summary |
|---|---|
| public ModuleAnnotatedMethodScanner getScanner() | |
| getSource | back to summary |
|---|---|
| public Object getSource() Implements com. Doc from com. Returns an arbitrary object containing information about the "place" where this element was configured. Used by Guice in the production of descriptive error messages. Tools might specially handle types they know about;
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |