registerClassReflection<O> method
Called by ClassReflection when instantiated for the 1st time.
Implementation
void registerClassReflection<O>(ClassReflection<O> classReflection) {
var classType = classReflection.classType;
var prev = _registeredClassReflection[classType];
if (prev == null || prev.compareTo(classReflection) < 0) {
_registeredClassReflection[classType] = classReflection;
}
}