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

Method strings

output/java8/1.4.14/BytecodeDisassembler.java:144–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142
143
144 public String strings() {
145 StringBuilder buf = new StringBuilder();
146 int addr = 0;
147 if ( code.strings!=null ) {
148 for (Object o : code.strings) {
149 if ( o instanceof String ) {
150 String s = (String)o;
151 s = Misc.replaceEscapes(s);
152 buf.append(String.format("%04d: \"%s\"\n", addr, s));
153 }
154 else {
155 buf.append(String.format("%04d: %s\n", addr, o));
156 }
157 addr++;
158 }
159 }
160 return buf.toString();
161 }
162
163
164 public String sourceMap() {

Callers 2

dumpMethod · 0.95
disasmMethod · 0.95

Calls 4

replaceEscapesMethod · 0.95
toStringMethod · 0.65
appendMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected