packages/babel-plugin-proposal-decorators/src/transformer-legacy.js
function applyMethodDecorators(path, state) {
  if (!hasMethodDecorators(path.node.body.body)) return;

  return applyTargetDecorators(path, state, path.node.body.body);
}
function applyMethodDecorators(path, state) {
  if (!hasMethodDecorators(path.node.body.body)) return;

  return applyTargetDecorators(path, state, path.node.body.body);
}
function applyMethodDecorators ( path , state ) { if ( ! hasMethodDecorators ( path . node . body . body ) ) return ; return applyTargetDecorators ( path , state , path . node . body . body ) ; }
Given a class expression with method-level decorators, create a new expression
with the proper decorated behavior.
Given a class expression with method - level decorators create a new expression with the proper decorated behavior .