private State checkV3Parameterization ( Class < ? > cls , State state ) throws NoClassDefFoundError { // check for a V3 Parameterizer class for ( Class < ? > inner : cls . getDeclaredClasses ( ) ) { if ( AbstractParameterizer . class . isAssignableFrom ( inner ) ) { try { Class < ? extends AbstractParameterizer > pcls = inner . asSubclass ( AbstractParameterizer . class ) ; pcls . newInstance ( ) ; if ( checkParameterizer ( cls , pcls ) ) { if ( state == State . INSTANTIABLE ) { LOG . warning ( "More than one parameterization method in class " + cls . getName ( ) ) ; } state = State . INSTANTIABLE ; } } catch ( Exception | Error e ) { LOG . verbose ( "Could not run Parameterizer: " + inner . getName ( ) + ": " + e . getMessage ( ) ) ; // continue. Probably non-public } } } return state ; }
Check for a V3 constructor .