aboutsummaryrefslogtreecommitdiff
path: root/dokka-integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt
blob: 2958948cd406ec4b8d0bb89eaa8e61ab1141c4c9 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@file:Suppress("unused")

package it.basic

import RootPackageClass

/**
 * This class, unlike [RootPackageClass] is located in a sub-package
 *
 * §PUBLIC§ (marker for asserts)
 */
class PublicClass {
    /**
     * This function is public and documented
     */
    fun publicDocumentedFunction(): String = ""

    fun publicUndocumentedFunction(): String = ""

    /**
     * This function is internal and documented
     */
    internal fun internalDocumentedFunction(): String = ""

    internal fun internalUndocumentedFunction(): String = ""

    /**
     * This function is protected and documented
     */
    protected fun protectedDocumentedFunction(): String = ""

    protected fun protectedUndocumentedFunction(): String = ""

    /**
     * This function is private and documented
     */
    private fun privateDocumentedFunction(): String = ""

    private fun privateUndocumentedFunction(): String = ""


    /**
     * This property is public and documented
     */
    val publicDocumentedProperty: Int = 0

    val publicUndocumentedProperty: Int = 0

    /**
     * This property internal and documented
     */
    val internalDocumentedProperty: Int = 0

    val internalUndocumentedProperty: Int = 0

    /**
     * This property is protected and documented
     */
    val protectedDocumentedProperty: Int = 0

    val protectedUndocumentedProperty: Int = 0

    /**
     * This property private and documented
     */
    private val privateDocumentedProperty: Int = 0

    private val privateUndocumentedProperty: Int = 0
}