change .java to .class intellij code example Example: how to change java class name in intellij F2 on the file