It is possible to serialize a method? Because when I look at the documentation the Method class does not implements Serializable. So are there any alternatives?