Summary

Refactoring code is an old idea that has been getting a new look. JBuilder’s IDE is only getting better at supporting code refactoring. If you are ambitious, you can extend JBuilder’s IDE to support other refactoring methods.

This chapter showed you simple code and the rename and move refactor methods. Refactoring makes much more sense in large projects with hundreds of classes. Think of the time savings of having an automatic way to rename a method or class that increases the developers’ understanding of the code!

Reflections

  • When would creating a forwarding method during a rename refactoring be appropriate?

  • Say that you were authoring a Java interface javax.servlet.http.HttpServletResponse. You name two of the methods in that interface ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.