Meta-annotation that indicates a method performs a revision-based type transformation.

This annotation is used internally to mark casting methods — either upcasters or downcasters — and encodes the change in revision level.

  • A positive revisionDelta indicates an upcast (e.g. +1)
  • A negative revisionDelta indicates a downcast (e.g. -1)
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The relative revision change this cast represents.
  • Element Details

    • revisionDelta

      int revisionDelta
      The relative revision change this cast represents.

      Positive for upcasts, negative for downcasts.