(String string, int width)
| 124 | } |
| 125 | |
| 126 | @Override |
| 127 | public List<String> splitStringToWidth(String string, int width) { |
| 128 | Validate.isTrue(width > 0); |
| 129 | if (string == null) |
| 130 | return Collections.emptyList(); |
| 131 | if (string.isEmpty()) |
| 132 | return Collections.singletonList(""); |
| 133 | return getFontrenderer().c(string, width); |
| 134 | } |
| 135 | |
| 136 | @Override |
| 137 | public int getStringWidth(String string) { |
nothing calls this directly
no test coverage detected