Examples of ImmediateFullValueEvaluator


Examples of com.intellij.xdebugger.frame.ImmediateFullValueEvaluator

  @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("<<");
View Full Code Here

Examples of com.intellij.xdebugger.frame.ImmediateFullValueEvaluator

  @Nullable
  @Override
  protected XValuePresentation getPresentation(@NotNull XValueNode node, @NotNull XValuePlace place) {
    String text = getValue().stringValue();
    if (text.length() > XValueNode.MAX_VALUE_LENGTH) {
      node.setFullValueEvaluator(new ImmediateFullValueEvaluator(text));
    }
    return new XStringValuePresentation(text);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.