private ContainerAnalysis createWorkInProgress ( final Class cls ) { final ContainerAnalysis analysis ; try { analysis = ( ContainerAnalysis ) constructor . newInstance ( cls ) ; } catch ( InstantiationException ex ) { throw new RuntimeException ( ex . toString ( ) ) ; } catch ( IllegalAccessException ex ) { throw new RuntimeException ( ex . toString ( ) ) ; } catch ( InvocationTargetException ex ) { throw new RuntimeException ( ex . toString ( ) ) ; } workInProgress . put ( new InProgressKey ( cls , Thread . currentThread ( ) ) , analysis ) ; return analysis ; }
Create new work - in - progress .