langtools/src/share/classes/com/sun/tools/javac/parser/JavaTokenizer.java
changeset 22163 3651128c74eb
parent 16810 670d880283e2
child 25445 603f0c93d5c9
equal deleted inserted replaced
22162:3b3e23e67329 22163:3651128c74eb
   727             System.out.println("processComment(" + pos
   727             System.out.println("processComment(" + pos
   728                                + "," + endPos + "," + style + ")=|"
   728                                + "," + endPos + "," + style + ")=|"
   729                                + new String(reader.getRawCharacters(pos, endPos))
   729                                + new String(reader.getRawCharacters(pos, endPos))
   730                                + "|");
   730                                + "|");
   731         char[] buf = reader.getRawCharacters(pos, endPos);
   731         char[] buf = reader.getRawCharacters(pos, endPos);
   732         return new BasicComment<UnicodeReader>(new UnicodeReader(fac, buf, buf.length), style);
   732         return new BasicComment<>(new UnicodeReader(fac, buf, buf.length), style);
   733     }
   733     }
   734 
   734 
   735     /**
   735     /**
   736      * Called when a complete whitespace run has been scanned. pos and endPos
   736      * Called when a complete whitespace run has been scanned. pos and endPos
   737      * will mark the whitespace boundary.
   737      * will mark the whitespace boundary.