Java class with static-only methods can contain 'protected' members (#1257)
#KT-19651 Fixed
This commit is contained in:
committed by
Simon Ogorodnik
parent
0f9d31c9d1
commit
cd6201c5df
@@ -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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user