Avatar ·

Analog of package-private access modifier in Kotlin

Hello everyone! I recently switched from Java to Kotlin and encountered a problem. In Java, I often used the package-private access modifier (default when you don't specify public/private/protected) so that classes within the same package could access each other's methods and fields, but these members were hidden from the outside world. This was very convenient for organizing internal module logic. In Kotlin, there is no such modifier. There is `internal`, which works at the module level (all files compiled together), but this is too broad a visibility for my tasks. I need to restrict visibility specifically within a single package (or, in Kotlin terms, a single directory/folder with source files). Here's an example from Java that I want to port to Kotlin: ```java // File: com/example/da