Updated for Java syntax highlighting