if (text != null)
return text;
else {
TemplateEntryProperty property = getTextTemplate();
if (property.getUpdateCount() != textVersion) {
TemplateEntry templateEntry = property.get();
StringBuilder sb = new StringBuilder();
templateEntry.appendText(sb, this);
cachedText = sb.toString();
textVersion = property.getUpdateCount();
}
return cachedText;