adding a java-mode-plus prefix to the inner functions so they don't clash with other function names by accident