Annotation Type Supersedes


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Supersedes
Indicates that the annotated type is intended as a replacement for another type.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The type that is superceded by the annotated type.
  • Element Details

    • value

      Class<?> value
      The type that is superceded by the annotated type.