Annotation Interface Cast
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 ElementsModifier and TypeRequired ElementDescriptionint
The relative revision change this cast represents.
-
Element Details
-
revisionDelta
int revisionDeltaThe relative revision change this cast represents.Positive for upcasts, negative for downcasts.
-