private void initializeResourceOracles() {
if (libraryGroup != null) {
if (module != null) {
sourceResourceOracle = module.getSourceResourceOracle();
buildResourceOracle = new CombinedResourceOracle(
module.getBuildResourceOracle(), new LibraryGroupBuildResourceOracle(libraryGroup));
publicResourceOracle = new CombinedResourceOracle(
module.getPublicResourceOracle(), new LibraryGroupPublicResourceOracle(libraryGroup));
} else {
sourceResourceOracle = null;
buildResourceOracle = new LibraryGroupBuildResourceOracle(libraryGroup);
publicResourceOracle = new LibraryGroupPublicResourceOracle(libraryGroup);
}
} else {
if (module != null) {
sourceResourceOracle = module.getSourceResourceOracle();