public static synchronized SortedMap < String , String > getContributedDetectors ( ) { if ( contributedDetectors != null ) { return new TreeMap <> ( contributedDetectors ) ; } TreeMap < String , String > set = new TreeMap <> ( ) ; IExtensionRegistry registry = Platform . getExtensionRegistry ( ) ; for ( IConfigurationElement configElt : registry . getConfigurationElementsFor ( EXTENSION_POINT_ID ) ) { addContribution ( set , configElt ) ; } contributedDetectors = set ; return new TreeMap <> ( contributedDetectors ) ; }
key is the plugin id value is the plugin library path