pub fn java_anonymous_class_body<'a>(node: &Node<'a>) -> Option<Node<'a>>Expand description
Returns the class_body child of a Java object_creation_expression
when the node is an anonymous class (new Runnable() { ... }), or
None for a plain constructor call (new Foo()). Shared by
JavaCode::is_func_space and JavaCode::get_space_kind so both agree
on exactly which object_creation_expression nodes open a Class space
(#463); a lambda is a distinct lambda_expression node and never
reaches this path.