@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Classifier
Classifiers are special annotations that are used to differentiate bindings for the same base type. A binding that has a classifier defined will only provide values for parameters that have that classifier, and the binding will also have precedence over another binding that only handles the base type.
If an annotation is not annotated with this annotation, then it will be considered a "modifier" and will be available to providers; however, it will not be considered in choosing the most appropriate binding for a parameter.
Copyright © 2015. All Rights Reserved.