Annotation Interface EOLComment


@Retention(RUNTIME) @Target(FIELD) public @interface EOLComment
Indicates that the tagged field should have an "end-of-line" comment placed at each instance of the field, using the return value of a getter method for the field or the return value of a specified method as the string.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional name of a "getter" method that's return value will be converted to a string and used as the EOL comment
  • Element Details

    • value

      String value
      Optional name of a "getter" method that's return value will be converted to a string and used as the EOL comment
      Returns:
      optional name of a getter method, or if not set, defaults to use the object's toString() method
      Default:
      ""