Boolean doesExclude(ModuleDescriptor md, String rootModuleConf, String[] moduleConfs,
DependencyDescriptor dd, Artifact artifact, Stack callersStack) {
if (dd != null) {
if (dd.doesExclude(moduleConfs, artifact.getId().getArtifactId())) {
return Boolean.TRUE;
}
}
if (md.doesExclude(moduleConfs, artifact.getId().getArtifactId())) {
return Boolean.TRUE;
}
IvyNode c = getData().getNode(md.getModuleRevisionId());
if (c != null) {
if (callersStack.contains(c.getId())) {
return null;
}
return Boolean.valueOf(c.doesCallersExclude(rootModuleConf, artifact, callersStack));
} else {
return Boolean.FALSE;
}
}