Any way to group methods in Java/Eclipse?

前端 未结 6 2127
感动是毒
感动是毒 2021-02-12 15:11

I would like to be able to group similar methods and have them appear in my Outline view in Eclipse. This makes navigating large swaths of code a little easier on the eye, and e

6条回答
  •  攒了一身酷
    2021-02-12 15:27

    As to your original question, I believe that is not possible with Java/Eclipse.

    However, if you have a group of similar methods that you need to distinguish from another group of methods within the same class, why not create a new class with the group of similar methods?

提交回复
热议问题