<init>( message: String, replaceWith: ReplaceWith = ReplaceWith(""), level: DeprecationLevel = DeprecationLevel.WARNING)
Marks the annotated declaration as deprecated.
A deprecated API element is not recommended to use, typically because it's being phased out or a better alternative exists.
To help removing deprecated API gradually, the property level could be used. Usually a gradual phase-out goes through the "warning", then "error", then "hidden" or "removed" stages:
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.