Implementing reflection in CoreNumberCalculator