docs: public MethodDescriptor toMethodDescriptor() {
          return DescriptorFactory.instance().getMethodDescriptor(getSlashedClassName(), method.getName(), method.getSignature(),
                  method.isStatic());
      }