# Hide internal members of Kotlin Module from JVM 🔐

DevFeed: [Hide internal members of Kotlin Module from JVM 🔐](<https://devfeed.tech/articles/hide-internal-members-of-kotlin-module-from-jvm-25727.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/hide-internal-members-of-kotlin-module-from-jvm/>)

Author: Shreyas Patil

Published: 2021-05-17T04:23:42Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Java](<https://devfeed.tech/topics/java.md>), [modules](<https://devfeed.tech/topics/modules.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-beginner](<https://devfeed.tech/tags/kotlin-beginner.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [library](<https://devfeed.tech/tags/library.md>), [module](<https://devfeed.tech/tags/module.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

## AI overview

A tutorial on Kotlin's internal visibility modifier and its limitations for Java consumers. It explains that Java code can access internal members of Kotlin classes and presents the need for additional measures when building Kotlin libraries or SDKs for the JVM.

## Source excerpt

Learn how to properly hide internal Kotlin members from JVM to maintain a clean API for Java consumers when developing libraries.