Java editor folding preferences only have the following: Comments, Header Comments, Inner Types, Members, Imports
However, I want to fold some arbitrary part of my code.
I tried enable folding of control flow statements (if/else) but seems it only applies to C/C++ editor and not Java.