@Override
protected XValuePresentation getPresentation(@NotNull XValueNode node, @NotNull XValuePlace place) {
//TODO apply string detection heuristics (see http://www.erlang.org/doc/apps/stdlib/unicode_usage.html)
final String textValue = new String(getValue().binaryValue());
if (textValue.length() > XValueNode.MAX_VALUE_LENGTH) {
node.setFullValueEvaluator(new ImmediateFullValueEvaluator(textValue));
}
return new XValuePresentation() {
@Override
public void renderValue(@NotNull XValueTextRenderer renderer) {
renderer.renderSpecialSymbol("<<");