Skip to content

Commit

Permalink
Make PMachines serializable in java (#729)
Browse files Browse the repository at this point in the history
* Make PEvents and PTypes serializable in java

* Make PMachines in java generated code serializable
  • Loading branch information
mchadalavada authored May 20, 2024
1 parent 43a9803 commit fe1e4f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void WriteMonitorDecl()
{
var cname = Names.GetNameForDecl(_currentMachine);

WriteLine($"public static class {cname} extends prt.Monitor<{cname}.{Constants.StateEnumName}> {{");
WriteLine($"public static class {cname} extends prt.Monitor<{cname}.{Constants.StateEnumName}> implements Serializable {{");

WriteLine();
WriteSupplierCDef(cname);
Expand Down

0 comments on commit fe1e4f7

Please sign in to comment.