langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacFiler.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
602 |
602 |
603 /** |
603 /** |
604 * Debugging function to display internal state. |
604 * Debugging function to display internal state. |
605 */ |
605 */ |
606 public void displayState() { |
606 public void displayState() { |
607 PrintWriter xout = context.get(Log.outKey); |
607 PrintWriter xout = context.get(Log.logKey).getWriter(Log.WriterKind.STDERR); |
608 xout.println("File Object History : " + fileObjectHistory); |
608 xout.println("File Object History : " + fileObjectHistory); |
609 xout.println("Open Type Names : " + openTypeNames); |
609 xout.println("Open Type Names : " + openTypeNames); |
610 xout.println("Gen. Src Names : " + generatedSourceNames); |
610 xout.println("Gen. Src Names : " + generatedSourceNames); |
611 xout.println("Gen. Cls Names : " + generatedClasses.keySet()); |
611 xout.println("Gen. Cls Names : " + generatedClasses.keySet()); |
612 xout.println("Agg. Gen. Src Names : " + aggregateGeneratedSourceNames); |
612 xout.println("Agg. Gen. Src Names : " + aggregateGeneratedSourceNames); |