question: public static boolean isImplementsInterface ( Class clazz , Class interfaceClass ) { if ( ! ( interfaceClass . isInterface ( ) ) ) { throw new IllegalArgumentException ( "Interface class passed in is not an interface" ) ; } boolean resultThisClass = recursiveIsImplementsInterface ( clazz , interfaceClass ) ; if ( resultThisClass ) { return true ; } return recursiveSuperclassImplementsInterface ( clazz , interfaceClass ) ; }
target:  Method to check if a given class, and its superclasses and interfaces (deep), implement a given interface.