c-reflection-factory-pattern