if (packages[i].getResolution() == ImportPackageSpecification.RESOLUTION_DYNAMIC)
if (ImportPackageSpecification.RESOLUTION_DYNAMIC.equals(packages[i].getDirective(Constants.RESOLUTION_DIRECTIVE)))
	private void addDynamicImportPackage(ImportPackageSpecification[] packages) {		if (packages == null)			return;		ArrayList dynamicImports = new ArrayList(packages.length);		for (int i = 0; i < packages.length; i++)			if (packages[i].getResolution() == ImportPackageSpecification.RESOLUTION_DYNAMIC)				dynamicImports.add(packages[i].getName());		if (dynamicImports.size() > 0)			addDynamicImportPackage((String[]) dynamicImports.toArray(new String[dynamicImports.size()]));	}