private ComponentType buildComponentTypeBySiganture(final String signature) { final ComponentType componentType = TypeFactory.eINSTANCE.createComponentType(); componentType.setSignature(signature); return componentType; }
private ComponentType addComponentType(final String componentSignature) { final String componentTypeKey = componentSignature; ComponentType componentType = this.typeModel.getComponentTypes().get(componentTypeKey); if (componentType == null) { componentType = this.factory.createComponentType(); componentType.setSignature(componentSignature); this.componentSignatureExtractor.extract(componentType); this.typeModel.getComponentTypes().put(componentTypeKey, componentType); } return componentType; }