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

Method strings

output/java8/1.4.17/BytecodeDisassembler.java:145–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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