code: function checkMethodAccessibilityModifier(methodDefinition) {
              if (
                  !methodDefinition.accessibility &&
                  util.isTypescript(context.getFilename())
              ) {
                  context.report({
                      node: methodDefinition,
                      message:
                          "Missing accessibility modifier on method definition {{name}}.",
                      data: {
                          name: methodDefinition.key.name,
                      },
                  });
              }
          }
docs: ---------------------------------------------------------------------- Helpers ---------------------------------------------------------------------- 
  Checks if a method declaration has an accessibility modifier.
  @param {ASTNode} methodDefinition The node representing a MethodDefinition.
  @returns {void}
  @private