Hi Andreas, thanks for that advice! I have upgraded to PMD 5.4.0 but now I get this...
Anonymous Inner Class: ParseException: Encountered " "." ". ""