if (isSynthetic) { ConstantPoolGen cpg = gen.getConstantPool(); int index = cpg.addUtf8("Synthetic"); gen.addAttribute(new Synthetic(index, 0, new byte[0], cpg.getConstantPool())); }
    public MethodGen pack() {    	//killNops();        MethodGen gen =            new MethodGen(                getAccessFlags(),                getReturnType(),                getArgumentTypes(),                null, //getArgumentNames(),                getName(),                getEnclosingClass().getName(),                new InstructionList(),                getEnclosingClass().getConstantPoolGen());        for (int i = 0, len = declaredExceptions.length; i < len; i++) {            gen.addException(declaredExceptions[i]);        }        for (int i = 0, len = attributes.length; i < len; i++) {            gen.addAttribute(attributes[i]);        }        if (hasBody()) {            packBody(gen);            gen.setMaxLocals();            gen.setMaxStack();        } else {        	gen.setInstructionList(null);        }        return gen;    }