docs: public static void addDeclaredMethodsFromAllInterfaces(ClassNode cNode, Map<String, MethodNode> methodsMap) {
          List cnInterfaces = Arrays.asList(cNode.getInterfaces());
          ClassNode parent = cNode.getSuperClass();
          while (parent != null && !parent.equals(ClassHelper.OBJECT_TYPE)) {
              ClassNode[] interfaces = parent.getInterfaces();
              for (ClassNode iface : interfaces) {
                  if (!cnInterfaces.contains(iface)) {
                      methodsMap.putAll(iface.getDeclaredMethodsMap());
                  }
              }
              parent = parent.getSuperClass();
          }
      }