Skip to content

Instantly share code, notes, and snippets.

@JJBRT
Created November 23, 2020 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JJBRT/3aac08ea64f405665cfe3e6ef9be4b3e to your computer and use it in GitHub Desktop.
Save JJBRT/3aac08ea64f405665cfe3e6ef9be4b3e to your computer and use it in GitHub Desktop.
package org.di.framework.annotations;
import java.lang.annotation.*;
/**
* Service field variables should use this annotation
* This annotation Can be used to avoid conflict if there are multiple implementations of the same interface
*/
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Qualifier {
String value() default "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment