Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.inject.rebind.binding
Interface Binding

All Known Implementing Classes:
  AsyncProviderBinding, BindClassBinding, BindConstantBinding, BindProviderBinding, CallConstructorBinding, CallGwtDotCreateBinding, FactoryBinding, GinjectorBinding, ImplicitProviderBinding, ProviderMethodBinding, RemoteServiceProxyBinding

    public interface Binding

Interface used by `InjectorGeneratorImpl` to represent different kinds of bindings.

Method Summary
`RequiredKeys` | `getRequiredKeys()`
`void` | `writeCreatorMethods(com.google.gwt.user.rebind.SourceWriter writer, java.lang.String creatorMethodSignature)` Writes the method necessary to create the binding's type to the writer.

Method Detail

### writeCreatorMethods

    void writeCreatorMethods(com.google.gwt.user.rebind.SourceWriter writer,
                             java.lang.String creatorMethodSignature)
                             throws NoSourceNameException

  Writes the method necessary to create the binding's type to the writer. A method with the `creatorMethodSignature` must be written, other methods are optional.

  Parameters:
    `writer` - writer that methods are written to
    `creatorMethodSignature` - signature of method that needs to be created
  Throws:
    `NoSourceNameException` - if source name is not available for type

### getRequiredKeys

    RequiredKeys getRequiredKeys()

  Returns:
    A tuple of two sets: One set of keys that this binding requires. This set is used to find more classes that need to be bound. The second set contains all keys that have been optionally requested.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD