Why Koltlin imports all classes from the local package?

I have a Kotlin project with this structure:
└── org
 └── gradle
 └── sample
 ├── JoinUtils.kt
 ├── LinkedList.kt
 ├── Main.kt
 ├── MessageUtils.kt
 ├── SplitUtils.kt
 └── StringUtils.kt

Main.kt looks like this:
package org.gradle.sample

fun main() {
 val tokens = StringUtils.split(MessageUtils.getMessage())

Where is StringUtils, MessageUtils classes from that directory that have the same package. Why are they available to me? The code compiles and works. I don't import them, and the documentation does not include them in the import by default. Aren't I supposed to import them explicitly?
April 19th 20 at 12:01
1 answer
April 19th 20 at 12:03
Classes from the same package import is not necessary.
It is strange that the Doc does not indicate this. Thank you! - adeline.Bradt commented on April 19th 20 at 12:06
@adeline.Bradt, well, obviously. And so in all languages. - leland30 commented on April 19th 20 at 12:09

Find more questions by tags Kotlin