int maxLocals = signature.getParameters().length + 1;
attrs.add(new CodeAttribute(cp, maxStack, (short)maxLocals));
// Create field, and add it to ClassFile
Method m = new Method(cp, modifiers, name, signature.getDescriptor(),
attrs);
clazz.getMethods().add(m);
return new JiapiMethod(m);