docs: public Method getMethod(MethodGen methodGen) {
          Method[] methodList = jclass.getMethods();
          for (Method method : methodList) {
              if (method.getName().equals(methodGen.getName()) && method.getSignature().equals(methodGen.getSignature())
                      && method.getAccessFlags() == methodGen.getAccessFlags()) {
                  return method;
              }
          }
          return null;
      }