nl.tudelft.simulation.language.reflection
Class SerializableMethod

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

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

A SerializableMethod
(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.4 March 24, 2004
Author:
Peter Jacobs
See Also:
Serialized Form

Constructor Summary
SerializableMethod(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] parameterTypes)
          constructs a new SerializableMethod
SerializableMethod(java.lang.reflect.Method method)
          constructs a new SerializableMethod
 
Method Summary
 java.lang.reflect.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(java.lang.reflect.Method method)
constructs a new SerializableMethod

Parameters:
method - the method

SerializableMethod

public SerializableMethod(java.lang.Class clazz,
                          java.lang.String methodName,
                          java.lang.Class[] parameterTypes)
                   throws java.lang.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:
java.lang.NoSuchMethodException - whenever the method is not defined in clazz
Method Detail

deSerialize

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

Returns:
the Field


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