* @param packages - Module packages list
*/
protected void updateInternalPathsConfig(ArrayLiteral packages) {
for(Object packageInfo: packages.getValueList()) {
if (packageInfo instanceof ObjectLiteral) {
ObjectLiteral packageInfoLit = (ObjectLiteral) packageInfo;
Object packagePath = packageInfoLit.getValue(DojoConfigAttrs.PACKAGES_LOCATION_CONFIG_FLAG),
packageName = packageInfoLit.getValue(DojoConfigAttrs.PACKAGES_NAME_CONFIG_FLAG);
if (packagePath instanceof String && packageName instanceof String) {
modulePaths.put((String) packageName, (String) packagePath);
}
}