title: How to rename a groovy method which has a literal name in IDEA
body: <p>Groovy allows us to define this nice function:</p>
  
  <pre><code>def "my nice function"() {
      //impl
  }
  </code></pre>
  
  <p>and call it later like this:</p>
  
  <pre><code>"my nice function"()
  </code></pre>
  
  <p>How can I refactor the code in IDEA and rename this method? Usual rename (Shift+F6) creates a mess.</p>