Details
-
Bug
-
Resolution: Won't Fix
-
Neutral
-
None
-
None
-
None
-
None
Description
We often introduce new constructors and deprecated old ones and for such cases this the @MgnlDeprecated annotation doesn't work.
Since this annotation works on methods, classes, interfaces and enums, it would make sense for me to also enable this annotation on constructors.
JavaDoc of the annotation says:
An {@link java.lang.annotation.Annotation 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 {@link Deprecated} annotation explicitly.
So if we add @Deprecated annotation on constructor, we should be able to also use @MgnlDeprecated, according to what the JavaDoc says.
Checklists
Acceptance criteria