code: public static VarBinding create( IVarDef varDef, VarValueDef valueDef)
      {
      VarBinding binding = 
        valueDef.isNA()
        ? new VarNaBinding( varDef.getPathName(), varDef.getType())
        : new VarBinding( varDef.getPathName(), varDef.getType(), valueDef.getName());
  
      binding.setValueValid( valueDef.isValid());
      binding.setVarDef( varDef);
  
      return binding;
      }
docs: Creates a new VarBinding object.