aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/javadoc/deprecated.java
blob: 5a6cdd77ca02270ef31e5d3ce0549bf7724b4b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
    }
}