mv.visitInsn(Opcodes.ARETURN);
mv.visitMaxs(5, 1);
mv.visitEnd();
writer.visitEnd();
final TargetLoader loader = new TargetLoader("Sample", writer
.toByteArray());
Callable<?> callable = (Callable<?>) loader.newTargetInstance();
final Object[] args = (Object[]) callable.call();
assertEquals(3, args.length, 0.0);
assertEquals(Long.valueOf(1000), args[0]);
assertEquals("Sample", args[1]);
assertEquals(Integer.valueOf(15), args[2]);