Joe Soltzberg

25%
Flag icon
You can eliminate a class’s self-use of overridable methods mechanically, without changing its behavior. Move the body of each overridable method to a private “helper method” and have each overridable method invoke its private helper method. Then replace each self-use of an overridable method with a direct invocation of the overridable method’s private helper method.
Joe Soltzberg
Build-in IDE tool?
Effective Java
Rate this book
Clear rating
Open Preview