String (String prefix, String suffix, String oldComment) { if (commentText == null) { FileType ftype = root.getFileType(); LanguageOptions opts = CopyrightManager.getInstance(project).getOptions().getMergedOptions(ftype.getName()); String notice = myCopyrightProfile.getNotice(); String base = notice != null ? EntityUtil.decode(notice) : ""; if (base.isEmpty()) { commentText = ""; } else { String expanded = VelocityHelper.evaluate(manager.findFile(root), project, module, base, oldComment); String cmt = FileTypeUtil.buildComment(root.getFileType(), expanded, opts); commentText = StringUtil.convertLineSeparators(prefix + cmt + suffix); } } return commentText; }