Annotation Interface 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
Author:
Graeme Rocher
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the annotation.
  • Field Details

    • NAME

      static final String NAME
      The name of the annotation.
  • Element Details

    • value

      Class<?>[] value
      Returns:
      The types