Annotation Type DeprecatedSince

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int major
      The Major version since when the annotated object is deprecated.
      int minor
      The Minor version since when the annotated object is deprecated.
      int patch
      The Patch version since when the annotated object is deprecated.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] replacements
      Optional String array indicating one or multiple possible replacement Objects to use.
    • Element Detail

      • major

        int major
        The Major version since when the annotated object is deprecated.
        Returns:
        int representing the major version.
        Since:
        6.3.0
      • minor

        int minor
        The Minor version since when the annotated object is deprecated.
        Returns:
        int representing the minor version.
        Since:
        6.3.0
      • patch

        int patch
        The Patch version since when the annotated object is deprecated.
        Returns:
        int representing the patch version.
        Since:
        6.3.0
      • replacements

        String[] replacements
        Optional String array indicating one or multiple possible replacement Objects to use.
        Returns:
        The Object(s) to use instead of the deprecated one.
        Default:
        {""}