GROOVY-5969: Show closures in AST browser - show closures only for appropriate outer classes