private static void addClasspathEntries ( final Object owner , final ClassLoader classLoader , final ClasspathOrder classpathOrderOut , final ScanSpec scanSpec , final LogNode log ) { // type ClasspathEntry[] final Object entries = ReflectionUtils . getFieldVal ( owner , "entries" , false ) ; if ( entries != null ) { for ( int i = 0 , n = Array . getLength ( entries ) ; i < n ; i ++ ) { // type ClasspathEntry final Object entry = Array . get ( entries , i ) ; // type BundleFile final Object bundlefile = ReflectionUtils . getFieldVal ( entry , "bundlefile" , false ) ; addBundleFile ( bundlefile , new HashSet <> ( ) , classLoader , classpathOrderOut , scanSpec , log ) ; } } }
Adds the classpath entries .