docs: public static XMethod createXMethod(String className, Method method) {
          String methodName = method.getName();
          String methodSig = method.getSignature();
          int accessFlags = method.getAccessFlags();
  
          return createXMethod(className, methodName, methodSig, accessFlags);
      }