Eclipse provides the possibility to extract interface from a class. You may call it reverse engineering since rule of thumb is to write the interface first and then write the classes implementing it. But sometimes, it’s the other way around. You write a class and then you want to generate the appropriate interface for it. Lets see how to do this.
(more…)