Class SerializableConstructor

    • Constructor Detail

      • SerializableConstructor

        public SerializableConstructor​(Constructor<?> constructor)
        constructs a new SerializableConstructor.
        Parameters:
        constructor - Constructor<?>; The constructor
      • SerializableConstructor

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

      • deSerialize

        public Constructor<?> deSerialize()
        deserializes the field.
        Returns:
        the Constructor