IntelliJ collapsing single line methods
Open 'Settings' from the File menu. Under 'Editor' -> 'General' -> 'Code Folding', you will find a 'Collapse by Default' section.
Simply uncheck 'One-line methods' and click OK.
On Windows:
Settings -> Editor -> General -> Code Folding -> Uncheck "One-line methods"
For mac, Code > Folding > Expand ALL/To Level