aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic')
-rw-r--r--integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt16
1 files changed, 16 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt b/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt
index fc4b36bd..2958948c 100644
--- a/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt
+++ b/integration-tests/gradle/projects/it-basic/src/main/kotlin/it/basic/PublicClass.kt
@@ -6,6 +6,8 @@ import RootPackageClass
/**
* This class, unlike [RootPackageClass] is located in a sub-package
+ *
+ * §PUBLIC§ (marker for asserts)
*/
class PublicClass {
/**
@@ -23,6 +25,13 @@ class PublicClass {
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 = ""
@@ -45,6 +54,13 @@ class PublicClass {
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