65 lines
3.8 KiB
Java
65 lines
3.8 KiB
Java
package org.gcube.portlets.user.gcubewidgets.client.rpc;
|
|
|
|
import com.google.gwt.core.client.GWT;
|
|
import com.google.gwt.core.client.JsArrayString;
|
|
import com.google.gwt.user.client.rpc.impl.TypeHandler;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
import com.google.gwt.core.client.GwtScriptOnly;
|
|
|
|
public class ScopeService_TypeSerializer extends com.google.gwt.user.client.rpc.impl.SerializerBase {
|
|
private static final MethodMap methodMapNative;
|
|
private static final JsArrayString signatureMapNative;
|
|
|
|
static {
|
|
methodMapNative = loadMethodsNative();
|
|
signatureMapNative = loadSignaturesNative();
|
|
}
|
|
|
|
@SuppressWarnings("deprecation")
|
|
@GwtScriptOnly
|
|
private static native MethodMap loadMethodsNative() /*-{
|
|
var result = {};
|
|
result["com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533"] = [
|
|
@com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException_FieldSerializer::instantiate(Lcom/google/gwt/user/client/rpc/SerializationStreamReader;),
|
|
@com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException_FieldSerializer::deserialize(Lcom/google/gwt/user/client/rpc/SerializationStreamReader;Lcom/google/gwt/user/client/rpc/IncompatibleRemoteServiceException;),
|
|
@com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException_FieldSerializer::serialize(Lcom/google/gwt/user/client/rpc/SerializationStreamWriter;Lcom/google/gwt/user/client/rpc/IncompatibleRemoteServiceException;)
|
|
];
|
|
|
|
result["com.google.gwt.user.client.rpc.RpcTokenException/2345075298"] = [
|
|
@com.google.gwt.user.client.rpc.RpcTokenException_FieldSerializer::instantiate(Lcom/google/gwt/user/client/rpc/SerializationStreamReader;),
|
|
@com.google.gwt.user.client.rpc.RpcTokenException_FieldSerializer::deserialize(Lcom/google/gwt/user/client/rpc/SerializationStreamReader;Lcom/google/gwt/user/client/rpc/RpcTokenException;),
|
|
];
|
|
|
|
result["com.google.gwt.user.client.rpc.XsrfToken/4254043109"] = [
|
|
,
|
|
,
|
|
@com.google.gwt.user.client.rpc.XsrfToken_FieldSerializer::serialize(Lcom/google/gwt/user/client/rpc/SerializationStreamWriter;Lcom/google/gwt/user/client/rpc/XsrfToken;)
|
|
];
|
|
|
|
result["java.lang.String/2004016611"] = [
|
|
@com.google.gwt.user.client.rpc.core.java.lang.String_CustomFieldSerializer::instantiate(Lcom/google/gwt/user/client/rpc/SerializationStreamReader;),
|
|
@com.google.gwt.user.client.rpc.core.java.lang.String_CustomFieldSerializer::deserialize(Lcom/google/gwt/user/client/rpc/SerializationStreamReader;Ljava/lang/String;),
|
|
@com.google.gwt.user.client.rpc.core.java.lang.String_CustomFieldSerializer::serialize(Lcom/google/gwt/user/client/rpc/SerializationStreamWriter;Ljava/lang/String;)
|
|
];
|
|
|
|
return result;
|
|
}-*/;
|
|
|
|
@SuppressWarnings("deprecation")
|
|
@GwtScriptOnly
|
|
private static native JsArrayString loadSignaturesNative() /*-{
|
|
var result = [];
|
|
result[@com.google.gwt.core.client.impl.Impl::getHashCode(Ljava/lang/Object;)(@com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException::class)] = "com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533";
|
|
result[@com.google.gwt.core.client.impl.Impl::getHashCode(Ljava/lang/Object;)(@com.google.gwt.user.client.rpc.RpcTokenException::class)] = "com.google.gwt.user.client.rpc.RpcTokenException/2345075298";
|
|
result[@com.google.gwt.core.client.impl.Impl::getHashCode(Ljava/lang/Object;)(@com.google.gwt.user.client.rpc.XsrfToken::class)] = "com.google.gwt.user.client.rpc.XsrfToken/4254043109";
|
|
result[@com.google.gwt.core.client.impl.Impl::getHashCode(Ljava/lang/Object;)(@java.lang.String::class)] = "java.lang.String/2004016611";
|
|
return result;
|
|
}-*/;
|
|
|
|
public ScopeService_TypeSerializer() {
|
|
super(null, methodMapNative, null, signatureMapNative);
|
|
}
|
|
|
|
}
|