Minor refactor and updates to the config file classes
What does this MR do and why?
This is a follow up to !165583 (comment 2114295646). It includes the change in the comment as well as minor code updates that include improved code readability and slight optimizations.
Also updates the Repository X-Ray Supported languages and package managers
table.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #476177 (closed)
Edited by Leaminn Ma