title: Intellij IDEA skipping closing bracket on test coverage
body: <p>I'm working on a Grails project. When I run unit tests with test coverage, it skips the enclosing brackets from code coverage. It's impossible to get 100% coverage. It happens for all methods.</p>
  <p>I tried varying the coverage runner by using JaCoCo and Emma, but no success.</p>
  <p>How can I fix this? Why do those brackets get added to total coverage anyway? It's super annoying.</p>
  <p><strong>EDIT</strong>: Actually it skips closing brackets right after <code>return</code> (or <code>break</code>) statements.</p>
  <p><a href="https://i.stack.imgur.com/Hd8mj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hd8mj.png" alt="enter image description here" /></a></p>