Wire up indent detection for Java mode.