Implement a Python module with a JavaLexer compatible with pygments (subclass RegexLexer) that tokenizes Java-like fragments for the tests, producing exact token streams: labels as Name.Label (including trailing colon), Keywords for language keywords (e.g., for), Names for identifiers, Punctuation for punctuation (including the colon in for patterns), Number.* subtypes for integers, hex, octal, binary, and floats with underscores and exponents, and String tokens for double-quoted strings with escapes; ensure no catastrophic backtracking and expose the standard pygments API (name, aliases, filenames, tokens()).