I know this use of hardcoded text is non-optimal, but Java interfaces are already handled as a special case and the cleanest alternative I can think of would simply be to turn this section into a scan of all CT_CLASSes in LANG_JAVA for startswith("@"), which is a more roundabout way of accomplishing the same thing, and results in (in my opinion) less clear code.