adding some new functionality for java-mode-plus