List<ApiComponentDependency> apiComponentDependencies =
apiStackComponent.getApiComponentDependencies();
if (apiComponentDependencies != null
&& !apiComponentDependencies.isEmpty()) {
for (ApiComponentDependency dependency : apiComponentDependencies) {
ApiComponentDependencyInfo dependencyInfo =
dependency.getApiComponentDependencyInfo();
if (role.equals(dependencyInfo.getDependentComponentName())) {
String denpendencyName = dependencyInfo.getComponentName();
if (!allRoles.contains(denpendencyName)) {
NotExistDenpendencyNames.add(denpendencyName);
}
}