I have a project source which uses 'assert' as name of methods, this was developed using jdk 1.3. Now when I am using java 5.0, Idea complains of the syntax.
What steps I should take to refactor the exisiting code so that jdk 5.0 compiler passes the code.
I tried using the "Change Signature" option of Refactor on the method named 'assert', but Idea complains this - Cannot perform refactoring. The caret should be positioned at the name of the method or class to be refactored.
Thanks to all.