Bläddra i källkod

reorganize source codes under package com.crystaldecisions

sunyj 8 år sedan
förälder
incheckning
ffbc615f7a

+ 51 - 0
crystal-replace-view/src/main/java/com/businessobjects/sdk/erom/jrc/AgentImplemention1.java

@@ -0,0 +1,51 @@
+package com.businessobjects.sdk.erom.jrc;
+
+/**
+ * @author sunyj
+ * @since 2017/12/28 11:08
+ */
+
+import com.businessobjects.reports.sdk.JRCCommunicationAdapter;
+import com.businessobjects.sdk.erom.remoteagent.Agent;
+import com.businessobjects.sdk.erom.remoteagent.Command;
+import com.crystaldecisions.client.helper.ISecurityContext;
+import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
+import com.crystaldecisions.xml.serialization.IXMLSerializable;
+import java.util.Locale;
+
+class AgentImplemention1 implements Agent {
+    JRCCommunicationAdapter jrcCommunicationAdapter;
+
+    AgentImplemention1(String var1, Locale var2) throws ReportSDKException {
+        this.jrcCommunicationAdapter = new JRCCommunicationAdapter(var1, var2);
+    }
+
+    AgentImplemention1(Locale var1) throws ReportSDKException {
+        this.jrcCommunicationAdapter = new JRCCommunicationAdapter();
+        this.jrcCommunicationAdapter.setLocale(var1);
+    }
+
+    Object a(int var1, Object var2) throws ReportSDKException {
+        return this.jrcCommunicationAdapter.request(var1, 0, "", (ISecurityContext)null, (IXMLSerializable)var2);
+    }
+
+    public void execute(Command command) throws ReportSDKException {
+        if (command == null) {
+            throw new IllegalArgumentException();
+        } else {
+            command.setOutput(this.a(command.getID(), command.getInput()));
+        }
+    }
+
+    public Locale getLocale() {
+        return this.jrcCommunicationAdapter != null ? this.jrcCommunicationAdapter.getLocale() : Locale.getDefault();
+    }
+
+    public <T> T getInternal(Class<T> var1) {
+        return this.jrcCommunicationAdapter.getInternal(var1);
+    }
+
+    public <T> T getInternal(String var1, Class<T> var2) {
+        return this.jrcCommunicationAdapter.getInternal(var1, var2);
+    }
+}

+ 73 - 0
crystal-replace-view/src/main/java/com/businessobjects/sdk/erom/remoteagent/commands/CommandObject.java

@@ -0,0 +1,73 @@
+package com.businessobjects.sdk.erom.remoteagent.commands;
+
+/**
+ * @author sunyj
+ * @since 2017/12/27 20:39
+ */
+
+import com.businessobjects.sdk.erom.remoteagent.Command;
+import java.util.Locale;
+
+public class CommandObject implements Command {
+    private int id;
+    private int status;
+    private String description;
+    private Object input;
+    private Object output;
+
+    public CommandObject(int id, Object input) {
+        this.id = 0;
+        this.status = 0;
+        this.id = id;
+        this.input = input;
+    }
+
+    public CommandObject(int id, Object input, Locale var3, String var4) {
+        this(id, input);
+    }
+
+    CommandObject(int id, Object input, String description) {
+        this(id, input);
+        this.description = description;
+    }
+
+    public int getID() {
+        return this.id;
+    }
+
+    public void setID(int id) {
+        this.id = id;
+    }
+
+    public String getDescription() {
+        return this.description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public int getStatus() {
+        return this.status;
+    }
+
+    public void setStatus(int status) {
+        this.status = status;
+    }
+
+    public Object getInput() {
+        return this.input;
+    }
+
+    public void setInput(Object input) {
+        this.input = input;
+    }
+
+    public Object getOutput() {
+        return this.output;
+    }
+
+    public void setOutput(Object output) {
+        this.output = output;
+    }
+}

+ 10 - 10
crystal-replace-view/src/main/java/com/crystaldecisions/proxy/remoteagent/RemoteAgent.java

@@ -402,7 +402,7 @@ public class RemoteAgent implements IRemoteAgent {
     }
     }
 
 
     static class InternalImplementionAgent implements Agent {
     static class InternalImplementionAgent implements Agent {
-        private Agent a = null;
+        private Agent agent = null;
 
 
         InternalImplementionAgent(Locale var1, String var2) throws ClassNotFoundException, InstantiationException, IllegalAccessException, ReportSDKException {
         InternalImplementionAgent(Locale var1, String var2) throws ClassNotFoundException, InstantiationException, IllegalAccessException, ReportSDKException {
             if (var2 != null) {
             if (var2 != null) {
@@ -415,28 +415,28 @@ public class RemoteAgent implements IRemoteAgent {
 
 
             Class var3 = Class.forName("com.businessobjects.sdk.erom.jrc.ReportAgentFactory");
             Class var3 = Class.forName("com.businessobjects.sdk.erom.jrc.ReportAgentFactory");
             AgentFactory var4 = (AgentFactory)var3.newInstance();
             AgentFactory var4 = (AgentFactory)var3.newInstance();
-            this.a = var4.createAgent(var1, var2, (String)null);
+            this.agent = var4.createAgent(var1, var2, (String)null);
         }
         }
 
 
-        public void execute(Command var1) throws ReportSDKException {
-            if (var1.getID() == 1004) {
-                ResultInfo var2 = new ResultInfo();
-                var1.setOutput(var2);
+        public void execute(Command command) throws ReportSDKException {
+            if (command.getID() == 1004) {
+                ResultInfo resultInfo = new ResultInfo();
+                command.setOutput(resultInfo);
             } else {
             } else {
-                this.a.execute(var1);
+                this.agent.execute(command);
             }
             }
         }
         }
 
 
         public Locale getLocale() {
         public Locale getLocale() {
-            return this.a.getLocale();
+            return this.agent.getLocale();
         }
         }
 
 
         public Object getInternal(Class var1) {
         public Object getInternal(Class var1) {
-            return this.a.getInternal(var1);
+            return this.agent.getInternal(var1);
         }
         }
 
 
         public Object getInternal(String var1, Class var2) {
         public Object getInternal(String var1, Class var2) {
-            return this.a.getInternal(var1, var2);
+            return this.agent.getInternal(var1, var2);
         }
         }
     }
     }
 }
 }

+ 27 - 27
crystal-replace-view/src/main/java/com/crystaldecisions/sdk/occa/report/application/ReportClientDocument.java

@@ -261,7 +261,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         }
         }
 
 
         if (this.getReportAppServer().startsWith("inproc:jrc") && this.getRemoteAgent() != null) {
         if (this.getReportAppServer().startsWith("inproc:jrc") && this.getRemoteAgent() != null) {
-            this.save(4, 0, (IXMLSerializable)null);
+            this.bdfa(4, 0, (IXMLSerializable)null);
         }
         }
 
 
         this.save(false);
         this.save(false);
@@ -307,7 +307,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         if (this.x.length() != 0) {
         if (this.x.length() != 0) {
             var5 = new PropertyBag();
             var5 = new PropertyBag();
             var5.putStringValue("enterprisesessionstring", this.x);
             var5.putStringValue("enterprisesessionstring", this.x);
-            this.save(346, 0, var5);
+            this.bdfa(346, 0, var5);
         }
         }
 
 
         if ((var2 & 4194304) != 0) {
         if ((var2 & 4194304) != 0) {
@@ -318,7 +318,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         var5 = new PropertyBag();
         var5 = new PropertyBag();
         var5.putBooleanValue("UserRights", true);
         var5.putBooleanValue("UserRights", true);
         var5.putBooleanValue("Title", true);
         var5.putBooleanValue("Title", true);
-        ResultInfo var6 = this.save(1004, 0, var5);
+        ResultInfo var6 = this.bdfa(1004, 0, var5);
         if (var6 != null && var6.getResultObj() != null) {
         if (var6 != null && var6.getResultObj() != null) {
             PropertyBag var7 = (PropertyBag)var6.getResultObj();
             PropertyBag var7 = (PropertyBag)var6.getResultObj();
             if (var7.containsKey("UserRights")) {
             if (var7.containsKey("UserRights")) {
@@ -351,7 +351,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         this.save(true);
         this.save(true);
     }
     }
 
 
-    ResultInfo save(int requestId, int options, IXMLSerializable ixmlSerializable) throws ReportSDKException {
+    ResultInfo bdfa(int requestId, int options, IXMLSerializable ixmlSerializable) throws ReportSDKException {
         RemoteAgent remoteAgent = this.getRemoteAgent();
         RemoteAgent remoteAgent = this.getRemoteAgent();
         remoteAgent.newM();
         remoteAgent.newM();
         ResultInfo resultInfo = remoteAgent.a(requestId, options, ixmlSerializable, RequestPriority.NORMAL);
         ResultInfo resultInfo = remoteAgent.a(requestId, options, ixmlSerializable, RequestPriority.NORMAL);
@@ -371,7 +371,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         var2.setParentFolderUID((PropertyBag)null);
         var2.setParentFolderUID((PropertyBag)null);
         var2.setOverwrite(true);
         var2.setOverwrite(true);
         var2.setSummaryInfo(this.reportDocument.getSummaryInfo());
         var2.setSummaryInfo(this.reportDocument.getSummaryInfo());
-        ResultInfo var3 = this.save(147, var1, var2);
+        ResultInfo var3 = this.bdfa(147, var1, var2);
         PropertyBag var4 = (PropertyBag)var3.getResultObj();
         PropertyBag var4 = (PropertyBag)var3.getResultObj();
         if (var4 != null) {
         if (var4 != null) {
             this.reportDocument.setMajorVersion(((Integer)var4.get("MajorVersion")).intValue());
             this.reportDocument.setMajorVersion(((Integer)var4.get("MajorVersion")).intValue());
@@ -439,7 +439,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
             var19.setSummaryInfo(this.reportDocument.getSummaryInfo());
             var19.setSummaryInfo(this.reportDocument.getSummaryInfo());
         }
         }
 
 
-        ResultInfo var20 = this.save(174, var18, var19);
+        ResultInfo var20 = this.bdfa(174, var18, var19);
         PropertyBag var21 = (PropertyBag)var20.getResultObj();
         PropertyBag var21 = (PropertyBag)var20.getResultObj();
         IByteArray var14 = (IByteArray)var21.get("SerializedDocument");
         IByteArray var14 = (IByteArray)var21.get("SerializedDocument");
         ab.a(var14.getBytes(), var6);
         ab.a(var14.getBytes(), var6);
@@ -474,7 +474,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
             saveAsDataDocumentRequest.setOverwrite(false);
             saveAsDataDocumentRequest.setOverwrite(false);
         }
         }
 
 
-        ResultInfo resultInfo = this.save(146, options, saveAsDataDocumentRequest);
+        ResultInfo resultInfo = this.bdfa(146, options, saveAsDataDocumentRequest);
         PropertyBag resultObj = (PropertyBag)resultInfo.getResultObj();
         PropertyBag resultObj = (PropertyBag)resultInfo.getResultObj();
         if (resultObj == null) {
         if (resultObj == null) {
             String errorMessage = SDKResourceManager.getString("Error_NullResultInfo", this.getLocale());
             String errorMessage = SDKResourceManager.getString("Error_NullResultInfo", this.getLocale());
@@ -503,7 +503,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
             var3.setRepositoryLogon(this.iRepositoryLogonInfo);
             var3.setRepositoryLogon(this.iRepositoryLogonInfo);
         }
         }
 
 
-        ResultInfo var4 = this.save(var2, var1, var3);
+        ResultInfo var4 = this.bdfa(var2, var1, var3);
         IReportDocument var5 = (IReportDocument)var4.getResultObj();
         IReportDocument var5 = (IReportDocument)var4.getResultObj();
         this.abcde(var5);
         this.abcde(var5);
     }
     }
@@ -947,7 +947,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         }
         }
 
 
         var4.putIntValue("FetchReportDefinition", var8);
         var4.putIntValue("FetchReportDefinition", var8);
-        ResultInfo var6 = this.save(202, 0, var4);
+        ResultInfo var6 = this.bdfa(202, 0, var4);
         IReportDocument var7 = null;
         IReportDocument var7 = null;
         var7 = (IReportDocument)var6.getResultObj();
         var7 = (IReportDocument)var6.getResultObj();
         if (var7 != null) {
         if (var7 != null) {
@@ -1180,13 +1180,13 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
                     var5 = new ModifyObjectRequest();
                     var5 = new ModifyObjectRequest();
                     var5.setID(RequestID.from_int(var3));
                     var5.setID(RequestID.from_int(var3));
                     var5.setReqObject((ReportOptions)var1);
                     var5.setReqObject((ReportOptions)var1);
-                    this.save(var3, var4, var5);
+                    this.bdfa(var3, var4, var5);
                 } else {
                 } else {
                     var3 = 156;
                     var3 = 156;
                     var4 = 0;
                     var4 = 0;
                     var5 = new ModifyObjectRequest();
                     var5 = new ModifyObjectRequest();
                     var5.setID(RequestID.from_int(var3));
                     var5.setID(RequestID.from_int(var3));
-                    ResultInfo var6 = this.save(var3, var4, var5);
+                    ResultInfo var6 = this.bdfa(var3, var4, var5);
 
 
                     assert var6.getResultObj() instanceof IReportOptions;
                     assert var6.getResultObj() instanceof IReportOptions;
 
 
@@ -1273,7 +1273,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
     }
     }
 
 
     public IByteArray fetchPreviewThumbnail() throws ReportSDKException {
     public IByteArray fetchPreviewThumbnail() throws ReportSDKException {
-        ResultInfo var1 = this.save(345, 0, (IXMLSerializable)null);
+        ResultInfo var1 = this.bdfa(345, 0, (IXMLSerializable)null);
         return (IByteArray)var1.getResultObj();
         return (IByteArray)var1.getResultObj();
     }
     }
 
 
@@ -1308,7 +1308,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         ModifyObjectRequest modifyObjectRequest = new ModifyObjectRequest();
         ModifyObjectRequest modifyObjectRequest = new ModifyObjectRequest();
         modifyObjectRequest.setID(RequestID.modifyDesignerProperties);
         modifyObjectRequest.setID(RequestID.modifyDesignerProperties);
         modifyObjectRequest.setReqObject(propertyBag);
         modifyObjectRequest.setReqObject(propertyBag);
-        this.save(330, 0, modifyObjectRequest);
+        this.bdfa(330, 0, modifyObjectRequest);
         this.propertyBag1 = propertyBag;
         this.propertyBag1 = propertyBag;
         this.abc(true);
         this.abc(true);
         this.bindListenersOnChangedEvent((AdvancedClientDocumentEvent)(new AdvancedClientDocumentEvent(this, ClientDocumentChangeType.designerProperties, (String)null, (String)null, (String)null)));
         this.bindListenersOnChangedEvent((AdvancedClientDocumentEvent)(new AdvancedClientDocumentEvent(this, ClientDocumentChangeType.designerProperties, (String)null, (String)null, (String)null)));
@@ -1367,7 +1367,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
             this.bindListenersOnPropertyChangingEvent(new ClientDocumentEvent(this, "DisplayName"));
             this.bindListenersOnPropertyChangingEvent(new ClientDocumentEvent(this, "DisplayName"));
         }
         }
 
 
-        this.save(192, 0, (SummaryInfo)var1);
+        this.bdfa(192, 0, (SummaryInfo)var1);
         var2.setSummaryInfo(var1);
         var2.setSummaryInfo(var1);
         this.abc(true);
         this.abc(true);
         this.bindListenersOnPropertyChangedEvent(new ClientDocumentEvent(this, "SummaryInfo"));
         this.bindListenersOnPropertyChangedEvent(new ClientDocumentEvent(this, "SummaryInfo"));
@@ -1375,7 +1375,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
     }
     }
 
 
     public IReportStatistics getReportStatistics() throws ReportSDKException {
     public IReportStatistics getReportStatistics() throws ReportSDKException {
-        ResultInfo var1 = this.save(206, 0, (IXMLSerializable)null);
+        ResultInfo var1 = this.bdfa(206, 0, (IXMLSerializable)null);
         String var2 = SDKResourceManager.getString("Str_GetReportStatisticsFails", this.getLocale());
         String var2 = SDKResourceManager.getString("Str_GetReportStatisticsFails", this.getLocale());
         IXMLSerializable var3 = var1.getResultObj();
         IXMLSerializable var3 = var1.getResultObj();
         if (!(var3 instanceof PropertyBag)) {
         if (!(var3 instanceof PropertyBag)) {
@@ -1669,7 +1669,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
     IStrings b() throws ReportSDKException {
     IStrings b() throws ReportSDKException {
         ResultInfo var1;
         ResultInfo var1;
         if (this.o == null) {
         if (this.o == null) {
-            var1 = this.save(251, 0, (IXMLSerializable)null);
+            var1 = this.bdfa(251, 0, (IXMLSerializable)null);
             IStrings var2 = (IStrings)var1.getResultObj();
             IStrings var2 = (IStrings)var1.getResultObj();
             this.o = var2;
             this.o = var2;
 
 
@@ -1745,7 +1745,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
             var3.putBooleanValue("QueryNames", true);
             var3.putBooleanValue("QueryNames", true);
         }
         }
 
 
-        ResultInfo var4 = this.save(282, 0, var3);
+        ResultInfo var4 = this.bdfa(282, 0, var3);
         return (PropertyBag)var4.getResultObj();
         return (PropertyBag)var4.getResultObj();
     }
     }
 
 
@@ -1859,7 +1859,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
                 var5.setFormula(var1);
                 var5.setFormula(var1);
                 var5.setContextObjectName(var2);
                 var5.setContextObjectName(var2);
                 var5.setContainerObjectName(var3);
                 var5.setContainerObjectName(var3);
-                var4 = this.save(301, 0, var5);
+                var4 = this.bdfa(301, 0, var5);
                 if (var4 != null) {
                 if (var4 != null) {
                     IXMLSerializable var7 = var4.getResultObj();
                     IXMLSerializable var7 = var4.getResultObj();
                     if (var7 != null && var7 instanceof FormulaResult) {
                     if (var7 != null && var7 instanceof FormulaResult) {
@@ -1919,7 +1919,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
     }
     }
 
 
     public List<UnsupportedFeatureType> getUnsupportedFeatures() throws ReportSDKException {
     public List<UnsupportedFeatureType> getUnsupportedFeatures() throws ReportSDKException {
-        ResultInfo var1 = this.save(327, 0, (IXMLSerializable)null);
+        ResultInfo var1 = this.bdfa(327, 0, (IXMLSerializable)null);
         if (!(var1.getResultObj() instanceof PropertyBag)) {
         if (!(var1.getResultObj() instanceof PropertyBag)) {
             ReportSDKException.throwReportSDKException(-2147215357, "");
             ReportSDKException.throwReportSDKException(-2147215357, "");
         }
         }
@@ -2035,14 +2035,14 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         PropertyBag var9 = new PropertyBag();
         PropertyBag var9 = new PropertyBag();
         var9.putIntValue("ExportFormat", var1.value());
         var9.putIntValue("ExportFormat", var1.value());
         var9.put("ExportOptions", var2);
         var9.put("ExportOptions", var2);
-        this.save(291, 0, var9);
+        this.bdfa(291, 0, var9);
     }
     }
 
 
     public void setSavedExportOptionsEx(String var1, PropertyBag var2) throws ReportSDKException {
     public void setSavedExportOptionsEx(String var1, PropertyBag var2) throws ReportSDKException {
         PropertyBag var3 = new PropertyBag();
         PropertyBag var3 = new PropertyBag();
         var3.putStringValue("ExportFormatID", var1);
         var3.putStringValue("ExportFormatID", var1);
         var3.put("ExportOptions", var2);
         var3.put("ExportOptions", var2);
-        this.save(291, 0, var3);
+        this.bdfa(291, 0, var3);
     }
     }
 
 
     private void abcde(ReportExportFormat var1) throws ReportSDKException {
     private void abcde(ReportExportFormat var1) throws ReportSDKException {
@@ -2081,7 +2081,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         PropertyBag var2 = new PropertyBag();
         PropertyBag var2 = new PropertyBag();
         var2.putStringValue("ExportFormatID", var1);
         var2.putStringValue("ExportFormatID", var1);
         var2.putBooleanValue("ReturnInCanoncialForm", true);
         var2.putBooleanValue("ReturnInCanoncialForm", true);
-        ResultInfo var3 = this.save(290, 0, var2);
+        ResultInfo var3 = this.bdfa(290, 0, var2);
         return (PropertyBag)var3.getResultObj();
         return (PropertyBag)var3.getResultObj();
     }
     }
 
 
@@ -2093,7 +2093,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         ResultInfo var3 = null;
         ResultInfo var3 = null;
 
 
         try {
         try {
-            var3 = this.save(290, 0, var2);
+            var3 = this.bdfa(290, 0, var2);
         } catch (ReportSDKException var7) {
         } catch (ReportSDKException var7) {
             if (var7.errorCode() == -2147482861) {
             if (var7.errorCode() == -2147482861) {
                 int var5 = var1.value();
                 int var5 = var1.value();
@@ -2158,7 +2158,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
     }
     }
 
 
     public PropertyBag getStatusVariables() throws ReportSDKException {
     public PropertyBag getStatusVariables() throws ReportSDKException {
-        ResultInfo var1 = this.save(379, 0, (IXMLSerializable)null);
+        ResultInfo var1 = this.bdfa(379, 0, (IXMLSerializable)null);
         if (ResultCode.FAILED(var1.getResultCode())) {
         if (ResultCode.FAILED(var1.getResultCode())) {
             ExceptionHelper.throwResultInfoException(var1, this.getLocale());
             ExceptionHelper.throwResultInfoException(var1, this.getLocale());
         }
         }
@@ -2224,7 +2224,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
                 if (this.isOpen()) {
                 if (this.isOpen()) {
                     PropertyBag var2 = new PropertyBag();
                     PropertyBag var2 = new PropertyBag();
                     var2.putStringValue("enterprisesessionstring", var1);
                     var2.putStringValue("enterprisesessionstring", var1);
-                    this.save(346, 0, var2);
+                    this.bdfa(346, 0, var2);
                 }
                 }
 
 
                 this.x = var1;
                 this.x = var1;
@@ -2238,7 +2238,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         if (this.x != null || this.x.length() != 0) {
         if (this.x != null || this.x.length() != 0) {
             PropertyBag var1 = new PropertyBag();
             PropertyBag var1 = new PropertyBag();
             var1.putStringValue("enterprisesessionstring", "");
             var1.putStringValue("enterprisesessionstring", "");
-            this.save(346, 0, var1);
+            this.bdfa(346, 0, var1);
             this.x = "";
             this.x = "";
         }
         }
     }
     }
@@ -2258,7 +2258,7 @@ public class ReportClientDocument extends ClientDocument implements IReportClien
         }
         }
 
 
         var3.putBooleanValue("ExportFormatsIncludeProperties", var2);
         var3.putBooleanValue("ExportFormatsIncludeProperties", var2);
-        ResultInfo var4 = this.save(351, 0, var3);
+        ResultInfo var4 = this.bdfa(351, 0, var3);
         if (!(var4.getResultObj() instanceof PropertyBag)) {
         if (!(var4.getResultObj() instanceof PropertyBag)) {
             ReportSDKException.throwReportSDKException(-2147215357, "");
             ReportSDKException.throwReportSDKException(-2147215357, "");
         }
         }