title: Is there a way to enforce using tabs instead of spaces in Java?
body: <p>CheckStyle offers to check for consistent use of spaces, but sadly lacks the opposite idea: Force source code to use tabs. Is there some way to add this functionality? It does not have to be CheckStyle, other tools are welcome as well.</p>
  
  <p>Same as <a href="https://stackoverflow.com/questions/2281000/is-there-a-way-to-enforce-using-tabs-instead-of-spaces">this question</a> but for Java.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I don't need a code beautifier, since the normal state of the codebase will be all tabs. I just need a tool which can report the presence of alternate indentation. That way I can set up a new continuous build configuration which will fail when spaces are introduced.</p>