private static void generateConstantStub(StringBuilder builder, Constant constant) {
   final String name = StringUtil.capitalize(constant.getName());
   builder.append(name).append(" = ");
   if (constant instanceof Enum) {
     builder.append(((Enum) constant).getValue());
   } else if (constant instanceof StringConstant) {
     builder.append("\'").append(((StringConstant) constant).getValue()).append("\'");
   } else {
     builder.append("nil");
   }
   builder.append("\n\n");
 }