1. import java.lang.annotation.Retention
    2. @Qualifier
    3. @Retention(RUNTIME)

    The above annotation is itself annotated with the @Qualifier annotation to designate it as a qualifier. You can then use the annotation at any injection point in your code. For example:

    1. @Inject Vehicle(@V8 Engine engine) {
    2. this.engine = engine;
    1. @Inject constructor(@V8 val engine: Engine) {