Annotation Interface PlateComment


@Retention(RUNTIME) @Target({FIELD,TYPE}) public @interface PlateComment
Indicates that the tagged class or field should have an plate comment placed before each instance of the object or field, using the return value of the field's getter method, or if a class, the object's "toString()" method.
  • Optional Element Summary

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

    • value

      String value
      Name of a "getter" method that's return value will be converted to a string and used as the comment
      Returns:
      name of a 'getter' method that will return the string to use for the comment, or if unset, the containing object's "toString()" method
      Default:
      ""