public void setBytecode ( String name , byte [ ] bytecode ) { if ( bytecode == null ) { bytecodes . remove ( name ) ; bytecodeBirthTimes . remove ( name ) ; return ; } bytecodes . put ( name , bytecode ) ; bytecodeBirthTimes . put ( name , Long . valueOf ( System . currentTimeMillis ( ) ) ) ; }
Save the bytecode for the class in a map . The current time is noted .