aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc8/testdata/javadoc/deprecated.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadoc8/testdata/javadoc/deprecated.java')
-rw-r--r--plugins/javadoc8/testdata/javadoc/deprecated.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/javadoc8/testdata/javadoc/deprecated.java b/plugins/javadoc8/testdata/javadoc/deprecated.java
new file mode 100644
index 00000000..5a6cdd77
--- /dev/null
+++ b/plugins/javadoc8/testdata/javadoc/deprecated.java
@@ -0,0 +1,28 @@
+package bar;
+
+/**
+ * Just a fruit
+ */
+public class Banana {
+ private Double weight;
+
+ /**
+ * Returns weight
+ *
+ * @return weight
+ * @deprecated
+ */
+ public Double getWeight() {
+ return weight;
+ }
+
+ /**
+ * Sets weight
+ *
+ * @param weight in grams
+ * @deprecated with message
+ */
+ public void setWeight(Double weight) {
+ this.weight = weight;
+ }
+} \ No newline at end of file