freezeMemberTables method

void freezeMemberTables()

Freezes the enum's function tables once declaration wiring is done (perf T6). Call at the end of the Pass-2 enum member loop. staticFields is excluded for the same deferred-initialization reason as classes.

Implementation

void freezeMemberTables() {
  _freezeTable(methods);
  _freezeTable(getters);
  _freezeTable(setters);
  _freezeTable(staticMethods);
  _freezeTable(staticGetters);
  _freezeTable(staticSetters);
  _freezeTable(constructors);
}