aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc8/testdata/javadoc/constructorParameters.kt
blob: c29ae91203c6f2b034b8e1c83bec38c9991170ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package bar

/**
 * Just a fruit
 *
 * @param weight in grams
 * @param ranking quality from 0 to 10, where 10 is best
 * @param color yellow is default
 */
class Banana (
    private val weight: Double,
    private val ranking: Int,
    color: String = "yellow"
)