CompositeAppearance (@Nls String text, @Nls String comment) { DequeEnd ending = new CompositeAppearance().getEnding(); ending.addText(text); ending.addComment(comment); return ending.getAppearance(); }