Annotation Type Type


  • @Documented
    @Retention(RUNTIME)
    public @interface Type
    Allows restricting injection by type. Useful when injection lists of instances that need to be isolated by type.
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String NAME
      The name of the annotation.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?>[] value  
    • Field Detail

      • NAME

        static final java.lang.String NAME
        The name of the annotation.
    • Element Detail

      • value

        java.lang.Class<?>[] value
        Returns:
        The types