(Box box, Object second)
| 180 | } |
| 181 | |
| 182 | private String html(Box box, Object second) { |
| 183 | |
| 184 | if (second instanceof StaticClass) { |
| 185 | return "for example `new " + ((StaticClass) second).getRepresentedClass().getSimpleName() + "`"; |
| 186 | } |
| 187 | |
| 188 | return box.first(Out.__out).map(x -> x.convert(second)).orElseGet(() -> "" + second); |
| 189 | } |
| 190 | |
| 191 | private Pair<Integer, String> replaceBoxReferences(Box box, Pair<Integer, String> line) { |
| 192 | Matcher m = boxFinder.matcher(line.second); |
no test coverage detected