Yes, for example, it can be .java. This check was initially in printPlugin and we used it to regenerate only scala code in mixed projects.