Hi,
Welcome to JavaRanch!
Well, there are Java libraries that dissect class files, and you could use one of them; see
BCEL, for example. Another approach would be to write a simple "ByteArrayClassLoader" (or find one easily on the 'Net, I'm sure) which loaded the data as a class, and then query the resulting Class object for its name.