title: Java-mode indentation
body: <p>Java-mode seems to be unindenting rather than indenting after a method declaration.</p>
  
  <p>By which I mean I'd expect to see this:</p>
  
  <pre><code>class GoodExample {
      public void method() {
          allNicelyIndented();
          noProblemsHere();
      }
  }
  </code></pre>
  
  <p>But instead get this:</p>
  
  <pre><code>class CrazyIndenting {
      public void method() {  // ((inclass 134) (topmost-intro 326))
    whyIsThisUnindented();    // ((defun-block-intro 379))
    itsMessingWithMyHead();   // ((statement 454))
      }
  }
  </code></pre>
  
  <p><code>M-x c-set-style RET java</code> and then <code>C-x h C-M-\</code> confirms that it is using the java style for the whole buffer.</p>
  
  <p>Using cc-modes <a href="http://cc-mode.sourceforge.net/html-manual/Interactive-Customization.html#Interactive-Customization" rel="nofollow noreferrer">interactive features</a>, <code>C-c C-s</code> gives the symbols I've put in comments after the wrongly formatted code, and <code>C-c C-o</code> suggests default values that look sensible. (0, + and 0 in descending statement order)</p>
  
  <p>Looking through my .emacs, I can't see anything that might be messing with cc-mode, so I'm a bit stuck for directions to investigate next. The unindent for the statement is less than the indent for the method declaration (2 "spaces" instead of 4), so perhaps there's some tab/space confusion?</p>
  
  <p>Versions: Emacs 22.2.1, JDE 2.3.5.1 and CC-mode 5.31.5.</p>