aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/javadoc/deprecated.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/testdata/javadoc/deprecated.java')
-rw-r--r--core/testdata/javadoc/deprecated.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/testdata/javadoc/deprecated.java b/core/testdata/javadoc/deprecated.java
new file mode 100644
index 00000000..5a6cdd77
--- /dev/null
+++ b/core/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