Java class with static-only methods can contain 'protected' members (#1257)

#KT-19651 Fixed
This commit is contained in:
Toshiaki Kameyama
2017-09-14 21:47:10 +09:00
committed by Simon Ogorodnik
parent 0f9d31c9d1
commit cd6201c5df
9 changed files with 94 additions and 15 deletions
+11
View File
@@ -0,0 +1,11 @@
object Util {
val publicStr = ""
internal val protectedStr = ""
internal val packageStr = ""
private val privateStr = ""
fun publicMethod() {}
internal fun protectedMethod() {}
internal fun packageMethod() {}
private fun privateMethod() {}
}