Annotation Interface Differs


@Target(METHOD) @Retention(SOURCE) public @interface Differs
Literally just a fancy comment that I can put next to stuff to know how it differs from previous versions
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A description stating why this version differs from the from() version
    A list of versions that this method differs from.
  • Element Details

    • from

      String[] from
      A list of versions that this method differs from. This need not be exhaustive - the previous version is sufficient
      Returns:
      versions that this method differs from
    • by

      String by
      A description stating why this version differs from the from() version
      Returns:
      a description stating why this version differs