code: public static Method generateGetterMethod(Field field) {
          Method method = generateMethod(
                  "get" + FormatTools.upFirstChar(field.getName()),
                  JavaVisibility.PUBLIC,
                  field.getType()
          );
          return generateMethodBody(method, "return this." + field.getName() + ";");
      }
docs: 生成Filed的Get方法
  @param field field
  @return