class Owner { constructor(tree: T) /* primary */ { super/*Any*/() /* () */ } val tree: T field = tree get val foo: String get(): String { var tree: JCTree = .() when { tree /*as T */ is JCTypeApply -> return tree /*as T */ /*as JCTypeApply */.#clazz /*!! String */ } return "" } }