@classmethod
    def map_to_class(cls, files, server=False):
        """Build a list of class files from the matching list of .java files.

           This method does understand Minecraft's obfuscation.
        """
        if server:
            obfuscation = cls.server_obfuscation
        else:
            obfuscation = cls.client_obfuscation

        classes = []
        for file in files:
            identifier, ext = os.path.splitext(file)

            if ext.lower() != ".java":
                continue

            # If it's one of Minecraft's classes, pass it through the
            # obfuscation map to get the correct identifier for the .class file
            if obfuscation in identifier:
                identifier = obfuscation[identifier]

            prefix = os.path.join("net", "minecraft", "src", "")
            if identifier.startswith(prefix):
                identifier = identifier[len(prefix):]
            classes.append(identifier + ".class")

        return classes
dataset/ETHPy150Open FunnyMan3595/mcp_rebuild/rebuild.py/Project.map_to_class/swapped operands of `in`