langtools/src/share/classes/com/sun/tools/javac/tree/Pretty.java
changeset 13844 56339cf983a3
parent 13077 16fb753bb5dc
child 14057 b4b0377b8dba
equal deleted inserted replaced
13843:1ac97278d72b 13844:56339cf983a3
   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);