Is there some way to replace a call like
Socket s = new Socket(Proxy.NO_PROXY);
with
Socket s = new Socket();
using BCEL because i can't figure out how. I understand it would involve changing the InstructionList but i don't know how to scan for it and i don't know which opcodes to look for.