Class SerializableMethod

    • Constructor Detail

      • SerializableMethod

        public SerializableMethod​(Method method)
        constructs a new SerializableMethod.
        Parameters:
        method - Method; the method
      • SerializableMethod

        public SerializableMethod​(Class<?> clazz,
                                  String methodName,
                                  Class<?>... parameterTypes)
                           throws NoSuchMethodException
        constructs a new SerializableMethod.
        Parameters:
        clazz - Class<?>; the clazz this field is instance of
        methodName - String; the name of the method
        parameterTypes - Class<?>..; The parameterTypes of the method
        Throws:
        NoSuchMethodException - whenever the method is not defined in clazz
    • Method Detail

      • deSerialize

        public Method deSerialize()
        deserializes the field.
        Returns:
        the Field