register method

  1. @override
void register()
override

Called automatically when instantiated. Registers this reflection into ReflectionFactory.

Implementation

@override
void register() {
  if (!ReflectionFactory().hasRegisterClassReflection(classType)) {
    var cr = withoutObjectInstance();
    ReflectionFactory().registerClassReflection(cr);
  }
}