code: protected void printDeadClassConstant(VariableDeclarationFragment fragment) {
      VariableElement var = fragment.getVariableElement();
      Object value = var.getConstantValue();
      assert value != null;
      String declType = getDeclarationType(var);
      declType += (declType.endsWith("*") ? "" : " ");
      String name = nameTable.getVariableShortName(var);
      if (ElementUtil.isPrimitiveConstant(var)) {
        printf("#define %s_%s %s\n", typeName, name, LiteralGenerator.generate(value));
      } else {
        println("FOUNDATION_EXPORT "
            + UnicodeUtils.format("%s%s_%s", declType, typeName, name) + ";");
      }
    }
docs: Overridden in TypePrivateDeclarationGenerator