setGlobal function

void setGlobal(
  1. Type clazz,
  2. Object instance
)

Implementation

void setGlobal(Type clazz, Object instance) {
  globals[clazz] = instance;
}