com.google.gwt.user.rebind.rpc
Class SerializationUtils

java.lang.Object
  extended by com.google.gwt.user.rebind.rpc.SerializationUtils

public class SerializationUtils
extends java.lang.Object

Utilities used for implementing serialization.


Constructor Summary
SerializationUtils()
           
 
Method Summary
static JField[] getSerializableFields(TypeOracle typeOracle, JClassType classType)
          Returns the set of fields that are serializable for a given class type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationUtils

public SerializationUtils()
Method Detail

getSerializableFields

public static JField[] getSerializableFields(TypeOracle typeOracle,
                                             JClassType classType)
Returns the set of fields that are serializable for a given class type. This method does not consider any superclass fields.

Parameters:
typeOracle - the type oracle
classType - the class for which we want serializable fields
Returns:
array of fields that meet the serialization criteria