add new method to guide javadoc to show helps

This commit is contained in:
YuCheng Hu 2020-02-26 15:44:44 -05:00
parent fd32c87290
commit b2d9b2c1d2
1 changed files with 14 additions and 0 deletions

View File

@ -1,9 +1,23 @@
package com.ossez.annotations;
class ClassWithDeprecatedMethod {
/**
* Calculate period between versions
* * @deprecated
* * This method is no longer acceptable to compute time between versions.
* * <p> Use {@link ClassWithDeprecatedMethod#updatedMethod()} instead.
*/
@Deprecated
static void deprecatedMethod() {
}
/**
* Updated Method instead of deprecatedMethod.
*/
static void updatedMethod() {
}
}