public class

SerializationUtils

extends Object
java.lang.Object
   ↳ com.google.gwt.user.rebind.rpc.SerializationUtils

Class Overview

Utilities used for implementing serialization.

Summary

Public Constructors
SerializationUtils()
Public Methods
static String getRpcTypeName(JType type)
Returns the binary name of a type.
static JField[] getSerializableFields(TypeOracle typeOracle, JClassType classType)
Returns the set of fields that are serializable for a given class type.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SerializationUtils ()

Public Methods

public static String getRpcTypeName (JType type)

Returns the binary name of a type. This is the same name that would be returned by getName() for this type.

Parameters
type TypeOracle type to get the name for
Returns
  • binary name for a type

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