class X { inner class Y class Z fun foo() }