Inlining call to getDescriptorsAddedInConstructor function based on code review feedback