Adam Lally wrote:
<snip>
Yes, I could add a new variant of CasCreationUtils.mergeTypeSystems:
public static TypeSystemDescription mergeTypeSystems(Collection aTypeSystems,
         ResourceManager aResourceManager, Collection
aOutputMergedTypeNames) throws ResourceInitializationException {

Where for the new argument aOutputMergedTypes you'd pass in an empty
collection and this method would add to it the names of any types
whose definitions were merged from multiple non-identical
declarations.

Do you agree?

The CDE actually does two different calls to build merged type systems, depending on
whether or not it's editing an aggregate.

If it's an aggregate, it calls:

   CasCreationUtils.mergeDelegateAnalysisEngineTypeSystems

If it's not, it calls:

   CasCreationUtils.mergeTypeSystems

Is it reasonable to have this extension for both cases?

-Marshall

Reply via email to