nl.tudelft.simulation.language.reflection
Class SerializableConstructor

java.lang.Object
  extended bynl.tudelft.simulation.language.reflection.SerializableConstructor
All Implemented Interfaces:
java.io.Serializable

public class SerializableConstructor
extends java.lang.Object
implements java.io.Serializable

A SerializableConstructor
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Since:
1.3
Version:
1.3 March 24, 2004
Author:
Peter Jacobs
See Also:
Serialized Form

Constructor Summary
SerializableConstructor(java.lang.Class clazz, java.lang.Class[] parameterTypes)
          constructs a new SerializableConstructor
SerializableConstructor(java.lang.reflect.Constructor constructor)
          constructs a new SerializableConstructor
 
Method Summary
 java.lang.reflect.Constructor deSerialize()
          deserializes the field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableConstructor

public SerializableConstructor(java.lang.reflect.Constructor constructor)
constructs a new SerializableConstructor

Parameters:
constructor - The constructor

SerializableConstructor

public SerializableConstructor(java.lang.Class clazz,
                               java.lang.Class[] parameterTypes)
                        throws java.lang.NoSuchMethodException
constructs a new SerializableConstructor

Parameters:
clazz - the clazz this field is instance of
parameterTypes - the parameterTypes of the constructor
Throws:
java.lang.NoSuchMethodException - whenever the method is not defined in clazz
Method Detail

deSerialize

public java.lang.reflect.Constructor deSerialize()
deserializes the field

Returns:
the Constructor


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.