Try this out

The methods getReturnIns and getVarIns can be replaced with org.objectweb.asm.Type#getOpcode