Module dagger

Annotation Type QualifierMetadata


  • @Retention(CLASS)
    @Target(TYPE)
    public @interface QualifierMetadata
    Stores the qualifier information about a type after it's been processed.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] value
      Returns the list of fully qualified qualifier names used in a particular context.
    • Element Detail

      • value

        java.lang.String[] value
        Returns the list of fully qualified qualifier names used in a particular context.

        For example, when annotating Dagger's generated _Factory class for an inject constructor, it contains all qualifiers used on parameters within the constructor. When annotating Dagger's generated _MembersInjector class for inject fields and methods, it contains all qualifiers found on the fields and method parameters. When annotating Dagger's generated _Factory class for provision methods it includes all qualifiers used on the provision method and its parameters.

        Default:
        {}