@Test public void testToString() { assertThat(first.toString()).isEqualTo("SpanId{spanId=10}"); assertThat(negative.toString()).isEqualTo("SpanId{spanId=18446744073709551606}"); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("spanId", getApiString()) .toString(); }
SpanId { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("spanId", getApiString()) .toString(); } }
SpanId { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("spanId", getApiString()) .toString(); } SpanId(long spanId); }
SpanId { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("spanId", getApiString()) .toString(); } SpanId(long spanId); static SpanId invalid(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); boolean isValid(); long getSpanId(); String getApiString(); }
SpanId { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("spanId", getApiString()) .toString(); } SpanId(long spanId); static SpanId invalid(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); boolean isValid(); long getSpanId(); String getApiString();  }