Adds back Scala notation in the outline labels

Partial revert of 21f15b9aa570ec6730b8fdd9176f2f616a5534f8

Fixes #1002339
Merge pull request #866 from skyluc/issue/java-style-in-outline-2339

Adds back Scala notation in the outline labels