Annotation Interface Scopes


@Retention(RUNTIME) @Target(METHOD) public @interface Scopes
This is a special annotation that allows you to declare bindings in nested scopes using provider methods.

Note that it does not allow you to use stateful scope annotations.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Annotation>[]