boolean function ( final ClassLoader arg0 , final ClassLoader arg1 ) { try { ClassLoader loc0 = arg1 ; while ( loc0 != null ) { if ( loc0 == arg0 ) { return true ; } loc0 = loc0 . getParent ( ) ; } return false ; } catch ( SecurityException loc0 ) { return false ; } }
utility method to check if some class loader is a grand - parent of or the same as another one . this means the child will be able to load all classes from the parent , too . if caller 's codesource does n't have enough permissions to do the check , false is returned this is fine , because if we get a securityexception it is for sure no parent . concode_field_sep String META_INF_SERVICES concode_elem_sep ClassLoader loader concode_elem_sep Iterator<String> linesIterator concode_elem_sep Enumeration<URL> profilesEnum concode_elem_sep Class<S> clazz concode_field_sep boolean loadNextProfile concode_elem_sep Class<? extends S> next concode_elem_sep SPIClassIterator<S> get concode_elem_sep SPIClassIterator<S> get concode_elem_sep boolean hasNext concode_elem_sep void remove