Annotation Interface Named


@Target({FIELD,PARAMETER,METHOD}) @Retention(RUNTIME) public @interface Named
This is a built-in stateful annotation.

It is used for quick prototyping or when you need to bind several keys with the same type.

If you have only few distinct groups of objects with the same type, consider making your own qualifier annotations.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details