code: def _classify_target_compile_workflow(self, target):
      
      if target.has_sources('.java') or target.has_sources('.scala'):
        return self.get_scalar_mirrored_target_option('workflow', target)
      return None
docs: Return the compile workflow to use for this target.