The class_recovery searches for all matches with the byte sequence 0xCAFEBABE in the file buffer and from there on tries to parse the classes. (See The class File Format) This rather primitive ...