the generated Validator may not be an Xtend2 class