Disable false warning "possible missing interpolator"
<p>I have some nested case classes, and for a specific serialization mechanism I need to provide a <code>productPrefix</code> that contains <code>$</code> characters. Like so</p>

<pre><code>object Foo {
  case class Bar() {
    override def productPrefix = "Foo$Bar"
  }
}
</code></pre>

<p>Now I get a compiler warning from this:</p>

<blockquote>
<pre><code>Warning:(53, 42) possible missing interpolator: detected interpolated identifier `$Bar`
    override def productPrefix: String = "Foo$Bar"
</code></pre>
</blockquote>

<p>Is there a way to disable the warning, if possible only for this instance? Scala version is 2.11.8.</p>

<hr>

<p><strong>Edit:</strong> I just thought I was clever: <code>"Foo\u0024Bar"</code>. But the compiler even warns about this. Another solution is <code>classOf[Bar].getName</code>, given the constraint that there are no further outer objects.</p>