Lines Matching defs:nSpaces
268 protected String formatSourceLine(JCDiagnostic d, int nSpaces) {
277 buf.append(indent(line, nSpaces));
284 buf.append(indent("^", nSpaces));
322 * @param nSpaces the amount of spaces to be added to the result string
325 protected String indentString(int nSpaces) {
327 if (nSpaces <= spaces.length())
328 return spaces.substring(0, nSpaces);
331 for (int i = 0 ; i < nSpaces ; i++)
342 * @param nSpaces the amount of spaces that should be prepended to each line
346 protected String indent(String s, int nSpaces) {
347 String indent = indentString(nSpaces);