.lookupAssemblyComponentInstanceByNamedIdentifier(assemblyComponentTypeName); if (assemblyComponent == null) { // assembly instance doesn't exist ComponentType componentType = systemModelRepository.getTypeRepositoryFactory().lookupComponentTypeByNamedIdentifier(assemblyComponentTypeName); if (componentType == null) { // NOPMD NOCS (NestedIf)
ComponentType componentTypeA = this.systemEntityFactory.getTypeRepositoryFactory().lookupComponentTypeByNamedIdentifier(componentTypeName); if (componentTypeA == null) { componentTypeA = this.systemEntityFactory.getTypeRepositoryFactory().createAndRegisterComponentType(componentTypeName, componentTypeName);