pub fn unit_metrics(ast: &JavaAst, unit: &CompilationUnit) -> TreeMetrics
编译单元全部可执行体(方法/构造器/初始化块,含嵌套类型)的 结构指标总和。