@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface MgnlDeprecated
annotation
to capture information regarding Deprecated classes and/or methods.
This annotation is present in order to provide extra information about the Deprecated classes and therefore
any Deprecated classes should be annotated with Deprecated
annotation explicitly.
Usage:
Modifier and Type | Required Element and Description |
---|---|
String |
since
Defines 'since' which version the particular class and/or method is deprecated.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Should be utilised to elaborate the reasoning of deprecation.
|
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.