String includes = export.getInclude(); String excludes = export.getExclude();
String includes = (String) export.getDirective(Constants.INCLUDE_DIRECTIVE); String excludes = (String) export.getDirective(Constants.EXCLUDE_DIRECTIVE);
	PackageSource createPackageSource(ExportPackageDescription export, boolean storeSource) {		PackageSource pkgSource = null;		// check to see if it is a reexport		if (!export.isRoot()) {			pkgSource = new ReexportPackageSource(export.getName());		}		else {			// check to see if it is a filtered export			String includes = export.getInclude();			String excludes = export.getExclude();			if (includes != null || excludes != null)				pkgSource = new FilteredSourcePackage(export.getName(), this, includes, excludes);		}		if (storeSource) {			// if the package source is not null then store the source only if it is not already present;			// getByKey is called outside of a synch block because we really do not			// care too much of duplicates getting created.  Only the first one will			// successfully get stored into pkgSources			if (pkgSource != null && pkgSources.getByKey(export.getName()) == null)				synchronized (pkgSource) {					pkgSources.add(pkgSource);				}		}		else {			// we are not storing the special case sources, but pkgSource == null this means this			// is a normal package source; get it and return it.			if (pkgSource == null)				pkgSource = getPackageSource(export.getName());		}						return pkgSource;	}