void () { getSettings().BUILDER_METHODS = "flowPanel,widget,wrap,builder,end"; getSettings().METHOD_CALL_CHAIN_WRAP = CommonCodeStyleSettings.DO_NOT_WRAP; doTextTest( """ class Test { public static void main(String[] args) { PanelBuilder.wrap(getCenterPanel(), "review-view").flowPanel("sidebar-offset").widget(myReviewHints).flowPanel("island").flowPanel("pane-toolbar pane-toolbar_island clearfix").flowPanel("pane-toolbar__left pane-toolbar__left_header").widget(reviewStateLabel(reviewDescriptorSignal)).widget(reviewIdLabel(reviewDescriptorSignal)).builder(reviewTitle(projectDescriptor, reviewDescriptorSignal)).end().end().flowPanel("revision-files-standalone").widget(myChangesListView).end().end().widget(myReviewFeedView).end(); } }""", """ class Test { public static void main(String[] args) { PanelBuilder.wrap(getCenterPanel(), "review-view") .flowPanel("sidebar-offset") .widget(myReviewHints) .flowPanel("island") .flowPanel("pane-toolbar pane-toolbar_island clearfix") .flowPanel("pane-toolbar__left pane-toolbar__left_header") .widget(reviewStateLabel(reviewDescriptorSignal)) .widget(reviewIdLabel(reviewDescriptorSignal)) .builder(reviewTitle(projectDescriptor, reviewDescriptorSignal)) .end() .end() .flowPanel("revision-files-standalone") .widget(myChangesListView) .end() .end() .widget(myReviewFeedView) .end(); } }""" ); }