Annotation Type Name


This annotation is used to describe variables in method signatures so that when rendered into tools like JConsole it is clear what the parameters are. For example: public void doodle(@Name(value="doodle", description="A description of the argument") String doodle)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    the name of the parameter
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    the description of the parameter
  • Element Details

    • value

      String value
      the name of the parameter
      Returns:
      the value
    • description

      String description
      the description of the parameter
      Returns:
      the description
      Default:
      ""