Annotation Type ReplaceWith


  • @Documented
    @Retention(RUNTIME)
    @Target({TYPE,METHOD,FIELD,CONSTRUCTOR})
    public @interface ReplaceWith
    Functionality annotated with ReplaceWith should be replaced immediately with the mentioned code fragment. This is often used for things like naming changes.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value