public static String discoverClassname ( byte [ ] classbytes ) { ClassReader cr = new ClassReader ( classbytes ) ; ClassnameDiscoveryVisitor v = new ClassnameDiscoveryVisitor ( ) ; cr . accept ( v , 0 ) ; return v . classname ; }
Discover the classname specified in the supplied bytecode and return it .