SerializableMethod
Date: 2015-09-18

org.mockito.internal.invocation

## Class SerializableMethod

- java.lang.Object
- - org.mockito.internal.invocation.SerializableMethod

- All Implemented Interfaces:
    java.io.Serializable, AbstractAwareMethod, MockitoMethod

      public class SerializableMethod
      extends java.lang.Object
      implements java.io.Serializable, MockitoMethod

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SerializableMethod(java.lang.reflect.Method method)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Class<?>[]` | `getExceptionTypes()`
    `java.lang.reflect.Method` | `getJavaMethod()`
    `java.lang.String` | `getName()`
    `java.lang.Class<?>[]` | `getParameterTypes()`
    `java.lang.Class<?>` | `getReturnType()`
    `int` | `hashCode()`
    `boolean` | `isAbstract()`
    `boolean` | `isVarArgs()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SerializableMethod

          public SerializableMethod(java.lang.reflect.Method method)

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Specified by:
        `getName` in interface `MockitoMethod`

    - #### getReturnType

          public java.lang.Class<?> getReturnType()

      Specified by:
        `getReturnType` in interface `MockitoMethod`

    - #### getParameterTypes

          public java.lang.Class<?>[] getParameterTypes()

      Specified by:
        `getParameterTypes` in interface `MockitoMethod`

    - #### getExceptionTypes

          public java.lang.Class<?>[] getExceptionTypes()

      Specified by:
        `getExceptionTypes` in interface `MockitoMethod`

    - #### isVarArgs

          public boolean isVarArgs()

      Specified by:
        `isVarArgs` in interface `MockitoMethod`

    - #### isAbstract

          public boolean isAbstract()

      Specified by:
        `isAbstract` in interface `AbstractAwareMethod`

    - #### getJavaMethod

          public java.lang.reflect.Method getJavaMethod()

      Specified by:
        `getJavaMethod` in interface `MockitoMethod`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`