Last active
November 7, 2017 19:07
-
-
Save rachitmishra/6e37f4ef422a46eb207b3806d3ec1820 to your computer and use it in GitHub Desktop.
dagger-qualified-annotation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Declaring a custom qualifier | |
*/ | |
@Qualifier // Required to specify the annotation as a qualifier | |
@Documented | |
@Retention(RUNTIME) | |
public @interface MyCustomQualifier { | |
String value() default ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment