private void checkAndAddCapabilities ( AnalysisEngineDescription aed ) { for ( Capability capability : aed . getAnalysisEngineMetaData ( ) . getCapabilities ( ) ) { for ( TypeOrFeature input : capability . getInputs ( ) ) if ( ! outputTypes . contains ( input . getName ( ) ) ) LOG . error ( "AnalysisEngine " + aed . getAnnotatorImplementationName ( ) + " is missing input @TypeCapability: " + input . getName ( ) ) ; } for ( Capability capability : aed . getAnalysisEngineMetaData ( ) . getCapabilities ( ) ) { for ( TypeOrFeature output : capability . getOutputs ( ) ) { // LOG.info("add @TypeCapability: " + output.getName()); outputTypes . add ( output . getName ( ) ) ; } } }
Checks that this