Class SerializableMethod

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    MethodFunction

    public class SerializableMethod
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    A wrapper of java.lang.reflect.Method to make it serializable.
    Author:
    tomyeh
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SerializableMethod​(java.lang.reflect.Method method)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      boolean equals​(java.lang.Object o)  
      java.lang.reflect.Method getMethod()
      Returns the method being encapsulated.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SerializableMethod

        public SerializableMethod​(java.lang.reflect.Method method)
    • Method Detail

      • getMethod

        public final java.lang.reflect.Method getMethod()
        Returns the method being encapsulated.
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object