nl.tudelft.simulation.language.reflection
Class SerializableMethod

java.lang.Object
  extended by nl.tudelft.simulation.language.reflection.SerializableMethod
All Implemented Interfaces:
Serializable

public class SerializableMethod
extends Object
implements Serializable

A SerializableMethod.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL) , no warranty

Since:
1.3
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:54 $
Author:
Peter Jacobs
See Also:
Serialized Form

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

Constructor Detail

SerializableMethod

public SerializableMethod(Method method)
constructs a new SerializableMethod

Parameters:
method - the method

SerializableMethod

public SerializableMethod(Class clazz,
                          String methodName,
                          Class[] parameterTypes)
                   throws NoSuchMethodException
constructs a new SerializableMethod

Parameters:
clazz - the clazz this field is instance of
methodName - the name of the method
parameterTypes - 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


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