private static void removeBody(JMethod method) {
    try {
      Field field = JMethod.class.getDeclaredField("body");
      field.setAccessible(true);
      field.set(method, null);
    }
    catch (NoSuchFieldException e) {
      throw new GenerationException(e);
    }
    catch (IllegalAccessException e) {
      throw new GenerationException(e);
    }
  }
private static void removeBody(JMethod method)