title: How to implement Serializable to a super class which you don't have access to?
body: <p>Say there are two class foo and bar</p>
  
  <p>bar extends foo but foo is a dependency that was added through maven. So I don't have access to foo's code but I want to serialize it for caching reasons. I want to know is there a way to serialize the foo class without changing the code inside foo it self ?</p>
  
  <p>Thank you</p>