SI-6715 Scaladoc: Use an encoded name if a decoded name is ""

In Scala, we can define a method named "$$" but Scaladoc couldn't treat
the method correctly because the decoded name of the method was "".