Instrument and rebuild Java programs without source code