public void add_noop_method() throws Exception
{
ClassFab cf = newClassFab("NoOp", Object.class);
cf.addInterface(Runnable.class);
cf.addNoOpMethod(new MethodSignature(void.class, "run", null, null));
cf.addNoOpMethod(new MethodSignature(int.class, "getInt", null, null));
cf.addNoOpMethod(new MethodSignature(double.class, "getDouble", null, null));
Class clazz = cf.createClass();
Runnable instance = (Runnable) clazz.newInstance();