public List < Extension > getLoadedExtensionsWithDeps ( ) { List < String > classnames = getExtensionsWithDeps ( ) ; ArrayList < Extension > loadedExtensions = new ArrayList <> ( extensionsWithDeps . size ( ) ) ; for ( Extension extension : getLoadedExtensions ( ) ) { if ( classnames . contains ( extension . getClass ( ) . getCanonicalName ( ) ) ) { loadedExtensions . add ( extension ) ; } } loadedExtensions . trimToSize ( ) ; return loadedExtensions ; }
Gets the extensions of this add - on that have dependencies and were loaded .