FILE: visibilityTransformation.kt
    @R|org/jetbrains/kotlin/plugin/sandbox/AllPublic|(visibility = Q|org/jetbrains/kotlin/plugin/sandbox/Visibility|.R|org/jetbrains/kotlin/plugin/sandbox/Visibility.Protected|) public final class A : R|kotlin/Any| {
        protected constructor(): R|A| {
            super<R|kotlin/Any|>()
        }

        protected final val x: R|kotlin/String| = String()
            protected get(): R|kotlin/String|

        protected final fun foo(): R|kotlin/Unit| {
        }

        public final class Nested : R|kotlin/Any| {
            protected constructor(): R|A.Nested| {
                super<R|kotlin/Any|>()
            }

            protected final fun bar(): R|kotlin/Unit| {
            }

        }

    }
    @R|org/jetbrains/kotlin/plugin/sandbox/AllPublic|(visibility = Q|org/jetbrains/kotlin/plugin/sandbox/Visibility|.R|org/jetbrains/kotlin/plugin/sandbox/Visibility.Private|) public final class B : R|kotlin/Any| {
        private constructor(): R|B| {
            super<R|kotlin/Any|>()
        }

        private final val x: R|kotlin/String| = String()
            private get(): R|kotlin/String|

        private final fun foo(): R|kotlin/Unit| {
        }

        public final class Nested : R|kotlin/Any| {
            private constructor(): R|B.Nested| {
                super<R|kotlin/Any|>()
            }

            private final fun bar(): R|kotlin/Unit| {
            }

        }

    }
