question: @ SuppressWarnings ( "unchecked" ) public static < C > C parameterizeOrAbort ( Class < ? > c , Parameterization config ) { try { C ret = tryInstantiate ( ( Class < C > ) c , c , config ) ; if ( ret == null ) { throw new AbortException ( "Could not instantiate class. Check parameters." ) ; } return ret ; } catch ( Exception e ) { if ( config . hasErrors ( ) ) { for ( ParameterException err : config . getErrors ( ) ) { LOG . warning ( err . toString ( ) ) ; } } if ( e instanceof AbortException ) { throw ( AbortException ) e ; } else { throw new AbortException ( "Instantiation failed" , e ) ; } } }
target:  Force parameterization method. Please use this only in "runner" classes such as unit tests, since the error handling is not very flexible.