src/language-js/print/class.js/printClassMethod
function printClassMethod(path, options, print) {
  const n = path.getValue();
  const parts = [];

  if (n.decorators && n.decorators.length !== 0) {
    parts.push(printDecorators(path, options, print));
  }
  if (n.accessibility) {
    parts.push(n.accessibility + " ");
  }
  if (n.static) {
    parts.push("static ");
  }
  if (n.type === "TSAbstractMethodDefinition" || n.abstract) {
    parts.push("abstract ");
  }

  parts.push(printMethod(path, options, print));

  return concat(parts);
}