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