@Test(expected = IllegalArgumentException.class) public void testUnbalancedComponentAndNames() throws ResourceInitializationException { List<AnalysisEngineDescription> descriptions = new ArrayList<AnalysisEngineDescription>(); descriptions.add(AnalysisEngineFactory.createEngineDescription(NoOpAnnotator.class)); descriptions.add(AnalysisEngineFactory.createEngineDescription(NoOpAnnotator.class)); List<String> names = new ArrayList<String>(); createEngineDescription(descriptions, names, null, null, null); }
public static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier, Object... configurationData) throws InvalidXMLException, IOException { ConfigurationParameterFactory.ensureParametersComeInPairs(configurationData); if (configurationData != null) { for (int i = 0; i < configurationData.length / 2; i++) { String name = (String) configurationData[i * 2]; String value = (String) configurationData[i * 2 + 1]; ConfigurationParameterFactory.setParameter(pearSpecifier, name, value); } } AnalysisEngineDescription desc = new AnalysisEngineDescription_impl(); desc.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME); desc.setPrimitive(false); desc.getDelegateAnalysisEngineSpecifiersWithImports().put(pearSpecifier.getPearPath(), pearSpecifier); FixedFlow fixedFlow = new FixedFlow_impl(); fixedFlow.setFixedFlow(new String[] { pearSpecifier.getPearPath() }); desc.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow); return desc; }
AnalysisEngineFactory { public static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier, Object... configurationData) throws InvalidXMLException, IOException { ConfigurationParameterFactory.ensureParametersComeInPairs(configurationData); if (configurationData != null) { for (int i = 0; i < configurationData.length / 2; i++) { String name = (String) configurationData[i * 2]; String value = (String) configurationData[i * 2 + 1]; ConfigurationParameterFactory.setParameter(pearSpecifier, name, value); } } AnalysisEngineDescription desc = new AnalysisEngineDescription_impl(); desc.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME); desc.setPrimitive(false); desc.getDelegateAnalysisEngineSpecifiersWithImports().put(pearSpecifier.getPearPath(), pearSpecifier); FixedFlow fixedFlow = new FixedFlow_impl(); fixedFlow.setFixedFlow(new String[] { pearSpecifier.getPearPath() }); desc.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow); return desc; } }
AnalysisEngineFactory { public static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier, Object... configurationData) throws InvalidXMLException, IOException { ConfigurationParameterFactory.ensureParametersComeInPairs(configurationData); if (configurationData != null) { for (int i = 0; i < configurationData.length / 2; i++) { String name = (String) configurationData[i * 2]; String value = (String) configurationData[i * 2 + 1]; ConfigurationParameterFactory.setParameter(pearSpecifier, name, value); } } AnalysisEngineDescription desc = new AnalysisEngineDescription_impl(); desc.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME); desc.setPrimitive(false); desc.getDelegateAnalysisEngineSpecifiersWithImports().put(pearSpecifier.getPearPath(), pearSpecifier); FixedFlow fixedFlow = new FixedFlow_impl(); fixedFlow.setFixedFlow(new String[] { pearSpecifier.getPearPath() }); desc.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow); return desc; } private  AnalysisEngineFactory(); }
AnalysisEngineFactory { public static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier, Object... configurationData) throws InvalidXMLException, IOException { ConfigurationParameterFactory.ensureParametersComeInPairs(configurationData); if (configurationData != null) { for (int i = 0; i < configurationData.length / 2; i++) { String name = (String) configurationData[i * 2]; String value = (String) configurationData[i * 2 + 1]; ConfigurationParameterFactory.setParameter(pearSpecifier, name, value); } } AnalysisEngineDescription desc = new AnalysisEngineDescription_impl(); desc.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME); desc.setPrimitive(false); desc.getDelegateAnalysisEngineSpecifiersWithImports().put(pearSpecifier.getPearPath(), pearSpecifier); FixedFlow fixedFlow = new FixedFlow_impl(); fixedFlow.setFixedFlow(new String[] { pearSpecifier.getPearPath() }); desc.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow); return desc; } private  AnalysisEngineFactory(); static AnalysisEngine createEngine(String descriptorName, Object... configurationData); @Deprecated static AnalysisEngine createAnalysisEngine(String descriptorName,
          Object... configurationData); static AnalysisEngine createEngine(AnalysisEngineDescription analysisEngineDescription,
          String viewName); @Deprecated static AnalysisEngine createAnalysisEngine(
          AnalysisEngineDescription analysisEngineDescription, String viewName); static AnalysisEngine createEngine(AnalysisEngineDescription desc,
          Object... configurationData); @Deprecated static AnalysisEngine createAggregate(AnalysisEngineDescription desc); @Deprecated static AnalysisEngine createPrimitive(AnalysisEngineDescription desc,
          Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, String[] typePriorities, Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, String[] typePriorities, Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          Object... configurationData); static AnalysisEngine createEngine(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); @Deprecated static AnalysisEngine createAggregate(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); static AnalysisEngine createEngine(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); @Deprecated static AnalysisEngine createAggregate(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); static AnalysisEngine createEngine(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings); @Deprecated static AnalysisEngine createAggregate(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings); static AnalysisEngine createEngine(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); @Deprecated static AnalysisEngine createAggregate(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); static AnalysisEngine createEngineFromPath(String descriptorPath,
          Object... configurationData); @Deprecated static AnalysisEngine createAnalysisEngineFromPath(String descriptorPath,
          Object... configurationData); static AnalysisEngineDescription createEngineDescriptionFromPath(String descriptorPath,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createAnalysisEngineDescriptionFromPath(
          String descriptorPath, Object... configurationData); static AnalysisEngineDescription createEngineDescription(String descriptorName,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createAnalysisEngineDescription(String descriptorName,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues,
          Map<String, ExternalResourceDescription> externalResources); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues,
          Map<String, ExternalResourceDescription> externalResources); static AnalysisEngineDescription createEngineDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          AnalysisEngineDescription... analysisEngineDescriptions); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          AnalysisEngineDescription... analysisEngineDescriptions); static AnalysisEngineDescription createEngineDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          FlowControllerDescription flowControllerDescription,
          AnalysisEngineDescription... analysisEngineDescriptions); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          FlowControllerDescription flowControllerDescription,
          AnalysisEngineDescription... analysisEngineDescriptions); static AnalysisEngineDescription createEngineDescription(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); }
AnalysisEngineFactory { public static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier, Object... configurationData) throws InvalidXMLException, IOException { ConfigurationParameterFactory.ensureParametersComeInPairs(configurationData); if (configurationData != null) { for (int i = 0; i < configurationData.length / 2; i++) { String name = (String) configurationData[i * 2]; String value = (String) configurationData[i * 2 + 1]; ConfigurationParameterFactory.setParameter(pearSpecifier, name, value); } } AnalysisEngineDescription desc = new AnalysisEngineDescription_impl(); desc.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME); desc.setPrimitive(false); desc.getDelegateAnalysisEngineSpecifiersWithImports().put(pearSpecifier.getPearPath(), pearSpecifier); FixedFlow fixedFlow = new FixedFlow_impl(); fixedFlow.setFixedFlow(new String[] { pearSpecifier.getPearPath() }); desc.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow); return desc; } private  AnalysisEngineFactory(); static AnalysisEngine createEngine(String descriptorName, Object... configurationData); @Deprecated static AnalysisEngine createAnalysisEngine(String descriptorName,
          Object... configurationData); static AnalysisEngine createEngine(AnalysisEngineDescription analysisEngineDescription,
          String viewName); @Deprecated static AnalysisEngine createAnalysisEngine(
          AnalysisEngineDescription analysisEngineDescription, String viewName); static AnalysisEngine createEngine(AnalysisEngineDescription desc,
          Object... configurationData); @Deprecated static AnalysisEngine createAggregate(AnalysisEngineDescription desc); @Deprecated static AnalysisEngine createPrimitive(AnalysisEngineDescription desc,
          Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, String[] typePriorities, Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, String[] typePriorities, Object... configurationData); static AnalysisEngine createEngine(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          Object... configurationData); @Deprecated static AnalysisEngine createPrimitive(Class<? extends AnalysisComponent> componentClass,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          Object... configurationData); static AnalysisEngine createEngine(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); @Deprecated static AnalysisEngine createAggregate(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); static AnalysisEngine createEngine(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); @Deprecated static AnalysisEngine createAggregate(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); static AnalysisEngine createEngine(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings); @Deprecated static AnalysisEngine createAggregate(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings); static AnalysisEngine createEngine(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); @Deprecated static AnalysisEngine createAggregate(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); static AnalysisEngine createEngineFromPath(String descriptorPath,
          Object... configurationData); @Deprecated static AnalysisEngine createAnalysisEngineFromPath(String descriptorPath,
          Object... configurationData); static AnalysisEngineDescription createEngineDescriptionFromPath(String descriptorPath,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(PearSpecifier pearSpecifier,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createAnalysisEngineDescriptionFromPath(
          String descriptorPath, Object... configurationData); static AnalysisEngineDescription createEngineDescription(String descriptorName,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createAnalysisEngineDescription(String descriptorName,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues); static AnalysisEngineDescription createEngineDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues,
          Map<String, ExternalResourceDescription> externalResources); @Deprecated static AnalysisEngineDescription createPrimitiveDescription(
          Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem,
          TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues,
          Map<String, ExternalResourceDescription> externalResources); static AnalysisEngineDescription createEngineDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          AnalysisEngineDescription... analysisEngineDescriptions); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          AnalysisEngineDescription... analysisEngineDescriptions); static AnalysisEngineDescription createEngineDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          List<Class<? extends AnalysisComponent>> componentClasses,
          TypeSystemDescription typeSystem, TypePriorities typePriorities,
          SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription,
          Object... configurationData); static AnalysisEngineDescription createEngineDescription(
          FlowControllerDescription flowControllerDescription,
          AnalysisEngineDescription... analysisEngineDescriptions); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          FlowControllerDescription flowControllerDescription,
          AnalysisEngineDescription... analysisEngineDescriptions); static AnalysisEngineDescription createEngineDescription(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription); @Deprecated static AnalysisEngineDescription createAggregateDescription(
          List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames,
          TypePriorities typePriorities, SofaMapping[] sofaMappings,
          FlowControllerDescription flowControllerDescription);  }