private static < DescriptorType > Map < DescriptorType , Object > findOrCreateDescriptorMap ( final Map < Class < ? > , Map < DescriptorType , Object > > analysisClassToDescriptorMapMap , final Map < Class < ? > , ? extends IAnalysisEngine < DescriptorType , ? > > engineMap , final Class < ? > analysisClass ) { Map < DescriptorType , Object > descriptorMap = analysisClassToDescriptorMapMap . get ( analysisClass ) ; if ( descriptorMap == null ) { descriptorMap = createMap ( engineMap , analysisClass ) ; analysisClassToDescriptorMapMap . put ( analysisClass , descriptorMap ) ; } return descriptorMap ; }
Find or create a descriptor to analysis object map .