In this case Electron intentionally used reflection to override functionality that isn't part of the API surface, so maybe not as cut and dried as all that