CompositeAppearance (@Nls String text, SimpleTextAttributes textAttributes) { CompositeAppearance result = new CompositeAppearance(); result.getEnding().addText(text, textAttributes); return result; }