public void addComponentTypeDeclaration(PluginComponentTypeDeclaration declaration) {
    if (fComponentTypeDeclarations == null) fComponentTypeDeclarations = new ArrayList();

    fComponentTypeDeclarations.add(declaration);

    if (!getComponentTypes().contains(declaration.getId())) {
      beginInternalCall("calling setComponentSpecificationPath");
      try {
        setComponentSpecificationPath(declaration.getId(), declaration.getResourcePath());
      } finally {
        endInternalCall();
      }
    }
  }