Write class Foo implements SomeInterface directly, and then Eclipse will prompt a syntax error, then press CTRL+1, which is the QuickFix function, and select the corresponding function in the pop-up menu. By the way, the CTRL+1 (QuickFix) function is very powerful in Eclipse. Try this function more and you will be pleasantly surprised.
Write
class Foo implements SomeInterface
directly, and then Eclipse will prompt a syntax error, then press CTRL+1, which is the QuickFix function, and select the corresponding function in the pop-up menu. By the way, the CTRL+1 (QuickFix) function is very powerful in Eclipse. Try this function more and you will be pleasantly surprised.