I am doing programming analysis for Java programs with soot. I customize a class which includes a field whose type is SootMethod. I want to save a large number of these objects and use them in another program. So, I find serialization meet my requirement. However, it triggers out the NotSerializableException because of the SootMethod.
What should I do if I want to save the objects with this SootMethod field? Why SootMethod is not serializable?