code: private MethodNode getMethod(String name, String desc, List<MethodNode> methods) {
          for (MethodNode mn : methods) {
              if (name.equals(mn.name) && desc.equals(mn.desc)) {
                  return mn;
              }
          }
          return null;
      }
docs: Find the method with the given name and descriptor in the list of {@code MethodNode}s.
  
  @param name the method name
  @param desc the method descriptor
  @param methods the list of methods to search
  
  @return the matching {@code MethodNode} if found or null if not found