A java library to create a proxy chain and record each method invocation