equal
deleted
inserted
replaced
254 int pos = s.indexOf('\n', start); |
254 int pos = s.indexOf('\n', start); |
255 if (pos < 0) pos = s.length(); |
255 if (pos < 0) pos = s.length(); |
256 return pos; |
256 return pos; |
257 } |
257 } |
258 |
258 |
259 /** If type parameter list is non-empty, print it enclosed in "<...>" brackets. |
259 /** If type parameter list is non-empty, print it enclosed in |
|
260 * {@literal "<...>"} brackets. |
260 */ |
261 */ |
261 public void printTypeParameters(List<JCTypeParameter> trees) throws IOException { |
262 public void printTypeParameters(List<JCTypeParameter> trees) throws IOException { |
262 if (trees.nonEmpty()) { |
263 if (trees.nonEmpty()) { |
263 print("<"); |
264 print("<"); |
264 printExprs(trees); |
265 printExprs(trees); |