def _is_checked(self, target):
    return target.has_sources(self._JAVA_SOURCE_EXTENSION) and not target.is_synthetic
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/checkstyle.py/Checkstyle._is_checked/original