@Retention(value=RUNTIME) public @interface Deprecated
Deprecated
. Both
annotations do not need to be specified on a key. The advantage of using this annotation is
that we can supply a custom message rather than simply telling the user "This key has been
deprecated".public abstract String message
Copyright © 2023. All Rights Reserved.