code: protected void generateSyncOverride(SourceWriter srcWriter, Map<JMethod, JMethod> syncMethToAsyncMethMap) {
  
          srcWriter.println("@Override");
          srcWriter.println("public boolean isSync(String methodName) {");
  
          JMethod[] syncMethods = serviceIntf.getOverridableMethods();
          for (JMethod syncMethod : syncMethods) {
              JMethod asyncMethod = syncMethToAsyncMethMap.get(syncMethod);
              if (!asyncMethod.isAnnotationPresent(SynchronizedRpcRequest.class)) {
                  continue;
              }
              srcWriter.indentln(
                  "if (methodName.equals(\"" + getProxySimpleName() + "." + syncMethod.getName() + "\")) {");
              srcWriter.indentln("return true;");
              srcWriter.indentln("}");
          }
          srcWriter.indentln("return false;");
          srcWriter.println("}");
      }
docs: Generates a method to check if a given RPC method has to be synchronized.<p>
  
  @param srcWriter the source write to generate the code with
  @param syncMethToAsyncMethMap the method map