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 @@
internal object Util {
val publicStr = ""
val protectedStr = ""
val packageStr = ""
private val privateStr = ""
fun publicMethod() {}
fun protectedMethod() {}
fun packageMethod() {}
private fun privateMethod() {}
}