code: public static String[] discoverInterfaces(byte[] classbytes) {
  		ClassReader cr = new ClassReader(classbytes);
  		InterfaceCollectingClassVisitor f = new InterfaceCollectingClassVisitor();
  		cr.accept(f, 0);
  		return f.interfaces;
  	}
docs: Determine the interfaces implemented by a given class (supplied as bytes)
  
  @param classbytes the classfile bytes
  @return array of interface names (slashed descriptors)