closes opened jar files , and calls close method of querymodule instancesimplementing queryresource . concode_field_sep ArrayList<URL> urls concode_elem_sep ClassLoader loader concode_elem_sep Context context concode_elem_sep ClassLoader LOADER concode_elem_sep Method CLOSE concode_elem_sep HashSet<Object> javaModules concode_field_sep Object findModule concode_elem_sep void addURL concode_elem_sep void addRepo concode_elem_sep Class<?> findClass concode_elem_sep boolean addImport
void function ( ) { if ( loader instanceof JarLoader ) ( ( JarLoader ) loader ) . close ( ) ; for ( final Object loc0 : javaModules ) { for ( final Class < ? > loc1 : loc0 . getClass ( ) . getInterfaces ( ) ) { if ( loc1 == QueryResource . class ) Reflect . invoke ( CLOSE , loc0 ) ; } } }