MCPcopy Create free account
hub / github.com/antlr/codebuff / toString

Method toString

output/java/1.4.14/STMessage.java:87–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

printMethod · 0.80
toStringMethod · 0.65
formatMethod · 0.45

Tested by

no test coverage detected