If in the same method I declare
PrintWriter out = new PrintWriter(new FileWriter(file, true));
System.out.println("Blah blah blah");
When I try to rename "out" variable of PrintWriter class to "writer", IDEA IntelliJ 5.0.1 also change System.out.println to System.writer.println.
Please check it!