MCPcopy Index your code
hub / github.com/antlr/codebuff / toString

Method toString

output/java8/1.4.17/STMessage.java:88–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87
88 @Override
89 public String toString() {
90 StringWriter sw = new StringWriter();
91 PrintWriter pw = new PrintWriter(sw);
92 String msg = String.format(error.message, arg, arg2, arg3);
93 pw.print(msg);
94 if ( cause!=null ) {
95 pw.print("\nCaused by: ");
96 cause.printStackTrace(pw);
97 }
98 return sw.toString();
99 }
100}

Callers

nothing calls this directly

Calls 3

printMethod · 0.80
toStringMethod · 0.65
formatMethod · 0.45

Tested by

no test coverage detected