

def _get_compiled_class_versions(self, spec, more_args=None):
    more_args = (more_args or [])
    jar_name = os.path.basename(spec)
    while jar_name.endswith(':'):
        jar_name = jar_name[:(- 1)]
    if (':' in jar_name):
        jar_name = jar_name[(jar_name.find(':') + 1):]
    with temporary_dir() as cache_dir:
        config = {
            'cache.compile.zinc': {
                'write_to': [cache_dir],
            },
        }
        with self.temporary_workdir() as workdir:
            pants_run = self.run_pants_with_workdir((((['binary'] + self.get_pants_compile_args()) + ['compile.checkstyle', '--skip', spec]) + more_args), workdir, config)
            self.assert_success(pants_run)
            return self._get_jar_class_versions('{}.jar'.format(spec))

dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py JvmPlatformIntegrationMixin._get_compiled_class_versions/VarMisuse@178/258 `jar_name`->`spec`