private static Class < ? > loadFinalizer ( FinalizerLoader ... loaders ) { for ( FinalizerLoader loader : loaders ) { Class < ? > finalizer = loader . loadFinalizer ( ) ; if ( finalizer != null ) { return finalizer ; } } throw new AssertionError ( ) ; }
Iterates through the given loaders until it finds one that can load Finalizer .