protected void processClass ( File source ) { CtClass clazz ; InputStream in = null ; try { clazz = _pool . makeClass ( in = new BufferedInputStream ( new FileInputStream ( source ) ) ) ; } catch ( IOException ioe ) { System . err . println ( "Failed to load " + source + ": " + ioe ) ; return ; } finally { StreamUtil . close ( in ) ; } try { if ( clazz . subtypeOf ( _streamable ) ) { processStreamable ( source , clazz ) ; } } catch ( NotFoundException nfe ) { System . err . println ( "Error processing class [class=" + clazz . getName ( ) + ", error=" + nfe + "]." ) ; } }
Processes a class file .