docs: public boolean declaresInterface(ClassNode classNode) {
          ClassNode[] interfaces = redirect().getInterfaces();
          for (ClassNode cn : interfaces) {
              if (cn.equals(classNode)) return true;
          }
          for (ClassNode cn : interfaces) {
              if (cn.declaresInterface(classNode)) return true;
          }
          return false;
      }