generateAccessMethod(cg, method, accessName); generateAroundMethod(cg, method, accessName, fieldName, context);
generateAccessMethod(cg, context, method); generateAroundMethod(cg, context, method);
    public void generate(CodeGenerator cg, List methods, Context context) {        for (int i = 0, size = methods.size(); i < size; i++) {            Method method = (Method)methods.get(i);            String accessName = getAccessName(method, i);            String fieldName = getFieldName(i);            cg.declare_field(PRIVATE_FINAL_STATIC, Method.class, fieldName);            cg.declare_field(PRIVATE_FINAL_STATIC, MethodProxy.class, accessName);            generateAccessMethod(cg, method, accessName);            generateAroundMethod(cg, method, accessName, fieldName, context);        }    }