package Ġcom . int elligent comments . ui . comments . model . content .` return ` Ċ Ċ import Ġcom . int elligent comments . core . domain . core . Return Segment Ċ import Ġcom . int elligent comments . ui . comments . model . Ui Interaction Model Base Ċ import Ġcom . int elligent comments . ui . comments . model . content . Content Segment Ui Model Ċ import Ġcom . int elligent comments . ui . comments . model . content . Content Segments Ui Model Ċ import Ġcom . int elligent comments . ui . comments . model . content . getFirst Level Header Ċ import Ġcom . int elligent comments . ui . comments . model . highlight ers . Highlight ed Text Ui Wrapper Ċ import Ġcom . int elligent comments . ui . comments . render ers . segments . Left Text Header And Right Content Renderer Ċ import Ġcom . int elligent comments . ui . core . Renderer Ċ import Ġcom . int elligent comments . ui . util . Hash Util Ċ import Ġcom . intellij . openapi . project . Project Ċ Ċ class ĠReturn Ui Model ( ĊĠ Ġproject : ĠProject , ĊĠ Ġparent : ĠUi Interaction Model Base ?, ĊĠ Ġret : ĠReturn Segment Ċ ) Ġ: ĠContent Segment Ui Model ( project , Ġparent ) Ġ{ ĊĠ Ġval Ġcontent Ġ= ĠContent Segments Ui Model ( project , Ġthis , Ġret . content ) ĊĊĠ Ġprivate Ġval Ġhighlighted Header Ġ= Ġget First Level Header ( ĊĠĠĠ Ġproject , ĊĠĠĠ Ġreturn Section Name , ĊĠĠĠ Ġret ĊĠ Ġ) ĊĊĠ Ġval Ġheader Text Ġ= ĠHighlight ed Text Ui Wrapper ( project , Ġthis , Ġhighlighted Header ) ĊĊĊĠ Ġoverride Ġfun Ġdump Model () Ġ= Ġ"${ super . dump Model ()} :: ${ header Text . dump Model ()} : Ġ\ n {\ n ${ content . dump Model () }\ n }" ĊĠ Ġoverride Ġfun Ġcalculate State Hash () Ġ= ĠHash Util . hashCode ( content . calculate State Hash ()) ĊĠ Ġoverride Ġfun Ġcreate Renderer () Ġ= ĠLeft Text Header And Right Content Renderer ( header Text , Ġcontent ) Ċ } Ċ Ċ const Ġval Ġreturn Section Name Ġ= Ġ" Returns " Ċ