private static CIMArgument modifyAnyCIMObjectPaths(Map<String,Object> keyMap,Object object){
  if (keyMap == null || object == null) {
    return null;
  }
  CIMArgument modifiedArgument=null;
  CIMArgument argument=(CIMArgument)object;
  Object cimPathReferenceObject=argument.getValue();
  if (cimPathReferenceObject == null || !(cimPathReferenceObject instanceof CIMObjectPath)) {
    return null;
  }
  String string=cimPathReferenceObject.toString();
  if (string.contains(Constants.SMIS80_DELIMITER)) {
    return null;
  }
  if (!string.contains("SE_ReplicationGroup") && string.contains(Constants.PLUS)) {
    Object modifiedPath=modifyForSMIS80(keyMap,(CIMObjectPath)cimPathReferenceObject);
    modifiedArgument=new CIMArgument<>(argument.getName(),argument.getDataType(),(CIMObjectPath)modifiedPath);
  }
  return modifiedArgument;
}

private static CIMArgument modifyAnyCIMObjectPaths ( Map < String , Object > keyMap , Object object ) { if ( keyMap == null || object == null ) { return null ; } CIMArgument modifiedArgument = null ; CIMArgument argument = ( CIMArgument ) object ; Object cimPathReferenceObject = argument . getValue ( ) ; if ( cimPathReferenceObject == null || ! ( cimPathReferenceObject instanceof CIMObjectPath ) ) { return null ; } String string = cimPathReferenceObject . toString ( ) ; if ( string . contains ( Constants . SMIS80_DELIMITER ) ) { return null ; } if ( ! string . contains ( "SE_ReplicationGroup" ) && string . contains ( Constants . PLUS ) ) { Object modifiedPath = modifyForSMIS80 ( keyMap , ( CIMObjectPath ) cimPathReferenceObject ) ; modifiedArgument = new CIMArgument < > ( argument . getName ( ) , argument . getDataType ( ) , ( CIMObjectPath ) modifiedPath ) ; } return modifiedArgument ; }
this method will take the ' object ' , which points to a cimargument , and determine if it holds a cimobjectpath . if it does it , will do a conversion of the object per the expected delimiter for smi - s 8 . 0
