Annotation Interface Default


@Target(METHOD) @Retention(RUNTIME) public @interface Default
Marks a Provides method as the fallback recipe for its key: the binding is used only when no other live binding satisfies the same key. Two live defaults for one key are a configuration error (DuplicateBindingException at bootstrap).