public Object record(Object value, int anchor) { values.add(new Value(value, anchor)); return value; }
for (int i = 0; i < valuesSize; i++) { final Value value = values.get(i); final int startColumn = value.getColumn(); if (startColumn < 1) continue; // skip values with unknown source position if (next != null && next.getColumn() == startColumn) continue; String str = valueToString(value.getValue()); if (str == null) continue; // null signals the value shouldn't be rendered
for (int i = 0; i < values.size(); i++) { Value value = values.get(i); int startColumn = value.getColumn(); if (startColumn < 1) continue; // skip values with unknown source position if (next != null && next.getColumn() == value.getColumn()) continue; String str = valueToString(value.getValue()); if (str == null) continue; // null signals the value shouldn't be rendered value.getColumn() + str.length() : // exclusive
public Object record(Object value, int anchor) { values.add(new Value(value, anchor)); return value; }