From a60d8ba79fd823260582b558f9f61229b12f4f6e Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 24 Feb 2015 16:24:00 +0100 Subject: understand @deprecated tag in javadoc --- test/data/format/javaDeprecated.html | 14 ++++++++++++++ test/data/format/javaDeprecated.java | 7 +++++++ test/data/format/javaLinkTag.html | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 test/data/format/javaDeprecated.html create mode 100644 test/data/format/javaDeprecated.java (limited to 'test/data/format') diff --git a/test/data/format/javaDeprecated.html b/test/data/format/javaDeprecated.html new file mode 100644 index 00000000..aaeed534 --- /dev/null +++ b/test/data/format/javaDeprecated.html @@ -0,0 +1,14 @@ + + +test / test.Foo.foo + + +test / test / Foo / foo
+
+

foo

+public open fun foo(): Unit
+Deprecated: use#bar instead

+
+
+ + diff --git a/test/data/format/javaDeprecated.java b/test/data/format/javaDeprecated.java new file mode 100644 index 00000000..4216f205 --- /dev/null +++ b/test/data/format/javaDeprecated.java @@ -0,0 +1,7 @@ +package test; + +class Foo { + /** @deprecated use {@link #bar} instead */ + public void foo() {} + public void bar() {} +} diff --git a/test/data/format/javaLinkTag.html b/test/data/format/javaLinkTag.html index 65d33283..b5f03ef3 100644 --- a/test/data/format/javaLinkTag.html +++ b/test/data/format/javaLinkTag.html @@ -7,7 +7,7 @@

Foo

open class Foo : Any
-

Call to do the job. +

Call #bar() to do the job.



-- cgit