def dependencies(self, path: str) -> Set[str]:
        """Returns a set of all classes referenced by the ClassFile at
        `path` without reading the entire ClassFile.

        This is an optimization method that does not load a complete ClassFile,
        nor does it add the results to the ClassLoader cache.

        :param path: Fully-qualified path to a ClassFile.
        """
        return set(c.name.value for c in self.search_constant_pool(
            path=path,
            type_=ConstantClass
        ))