title: Eclipse Formatter: How to avoid indentation of method declaration after annotation?
body: <p>I have a method declaration with an annotation that is formatted by Eclipse Mars as follows:</p>
  
  <pre><code>@Override
          void addLoadShiftingConstraints() throws NoSuchDataException {
      //method body
  }
  </code></pre>
  
  <p>I would like to not indent the method declaration:</p>
  
  <pre><code>@Override
  void addLoadShiftingConstraints() throws NoSuchDataException {
      //method body
  }
  </code></pre>
  
  <p>Currently I have following formatter setting for the method declaration:</p>
  
  <p><a href="https://i.stack.imgur.com/3obdS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3obdS.png" alt="enter image description here"></a>
  Right click on Project =>Properties=>Java Code Style=>Formatter
  =>Edit active profile => LineWrapping => Method Declaration => Declaration => <strong>Wrap where necessary</strong></p>
  
  <p>If I would choose the option <strong>Do not wrap</strong> instead, the unwanted indent would vanish. However, I would like to keep the wrapping for long declarations. </p>
  
  <p>Is this an Eclipse bug or is there an additional setting for the Annotations that I would have to change in order to avoid the indent? </p>