Class SerializableMethod

java.lang.Object
org.dellroad.stuff.java.SerializableMethod
All Implemented Interfaces:
Serializable

public class SerializableMethod extends Object implements Serializable
Wrapper that makes a Method Serializable.
See Also:
  • Constructor Details

    • SerializableMethod

      public SerializableMethod(Method method)
      Constructor.
      Parameters:
      method - the method
      Throws:
      IllegalArgumentException - if method is null
  • Method Details

    • getMethod

      public Method getMethod()
      Get the wrapped method.
      Returns:
      wrapped method
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object