Automatically create an interface in eclipse

I have a class in eclipse and will write an interface for it.

Is it possible, as with getter / setter auto-generation, to automatically create an interface from a class?

I appreciate your answer !!!

btw my version of the eclipse is indigo ...

+5
source share
2 answers

Alt + Shift + T and "Extract interface"

+9
source

There is no need to click only on the class name. Just right-click anywhere in the class. refractor select "Extract Interface"

+2
source

All Articles