/* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 2 0 ĠThe ĠAndroid ĠOpen ĠSource ĠProject Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ package Ġcom . android . build . at tribution . ui . tree Ċ Ċ import Ġcom . android . build . at tribution . ui . analytics . Build At tribution Ui Analytics Ċ import Ġcom . android . build . at tribution . ui . controllers . Task Issue Reporter Ċ import Ġcom . android . build . at tribution . ui . controllers . TreeNode Selector Ċ import Ġcom . android . build . at tribution . ui . data . Build At tribution Report Ui Data Ċ import Ġcom . intellij . ui . tree Structure . Simple Node Ċ Ċ class ĠRoot Node ( ĊĠ Ġprivate Ġval Ġreport Data : ĠBuild At tribution Report Ui Data , ĊĠ Ġoverride Ġval Ġanalytics : ĠBuild At tribution Ui Analytics , ĊĠ Ġoverride Ġval Ġissue Reporter : ĠTask Issue Reporter , ĊĠ Ġoverride Ġval Ġnode Selector : ĠTreeNode Selector Ċ ) Ġ: ĠCont rollers Aware Build At tribution Node ( null ) Ġ{ ĊĊĠ Ġoverride Ġfun Ġbuild Children (): ĠArray < Simple Node > Ġ{ ĊĠĠĠ Ġval Ġnodes Ġ= Ġmutable ListOf < Simple Node >() ĊĠĠĠ Ġnodes . add ( Build Summary Node ( report Data . build Summary , Ġthis )) ĊĠĠĠ Ġnodes . add ( Critical Path Plugins Root ( report Data . critical Path Plugins , Ġthis )) ĊĠĠĠ Ġnodes . add ( Critical Path Tasks Root ( report Data . critical Path Tasks , Ġthis )) ĊĠĠĠ Ġ// ĠTODO ( b / 1 4 8 2 7 5 0 3 9 ): ĠRe - enable Ġplugin Ġconfiguration ĊĠĠĠ Ġ// Ġnodes . add ( Plugin Configuration Time Root ( report Data . configuration Time , Ġthis )) ĊĠĠĠ Ġnodes . add ( Warnings Root Node ( report Data , Ġthis )) ĊĠĠĠ Ġreturn Ġnodes . to Typed Array () ĊĠ Ġ} Ċ }